This commit is contained in:
2020-07-27 23:47:12 +00:00
parent f2f0113d62
commit eb1786da85
3 changed files with 25 additions and 3 deletions

View File

@@ -101,9 +101,9 @@ namespace AyaNova.Biz
//append exception message if not null
if (except != null)
message += $"\nException error: {ExceptionUtil.ExtractAllExceptionMessages(except)}";
foreach (var sub in subs)
{
{
//note flag ~SERVER~ means to client to substitute "Server" translation key text instead
NotifyEvent n = new NotifyEvent() { EventType = eventType, UserId = sub.UserId, Message = message, NotifySubscriptionId = sub.Id, Name = "~SERVER~" };
await ct.NotifyEvent.AddAsync(n);