fix mistake of rethrowing exception (which loses call stack) to just throw (which does not)

This commit is contained in:
2020-09-21 18:54:30 +00:00
parent 632ea2e48e
commit 2193e36161
9 changed files with 10 additions and 10 deletions

View File

@@ -118,7 +118,7 @@ namespace AyaNova.Biz
await JobsBiz.LogJobAsync(Guid.Empty, ExceptionUtil.ExtractAllExceptionMessages(ex));
log.LogError(ex, "Backup failed");
await NotifyEventProcessor.AddGeneralNotifyEvent(NotifyEventType.BackupStatus, "Backup failed","Backup", ex);
throw ex;
throw;
}
finally
{