This commit is contained in:
2020-12-14 18:39:40 +00:00
parent 69ca4985f7
commit 6b8c20d0e7
3 changed files with 6 additions and 5 deletions

View File

@@ -27,7 +27,8 @@ namespace AyaNova.Biz
//Log as a backup in case there is no one to notify and also for the record and support
if (ex != null)
{
log.LogError(ex, $"Ops problem notification: \"{message}\"");
//actually, if there is an exception it's already logged anyway so don't re-log it here, just makes dupes
// log.LogError(ex, $"Ops problem notification: \"{message}\"");
message += $"\nException error: {ExceptionUtil.ExtractAllExceptionMessages(ex)}";
}
else