This commit is contained in:
2020-05-25 22:45:18 +00:00
parent 0e1ee0899d
commit 006832a082

View File

@@ -331,16 +331,10 @@ namespace AyaNova.Biz
//TODO: NOTIFICATIONS //TODO: NOTIFICATIONS
} }
catch (OperationCanceledException e)
{
log.LogError(e, "JobsBiz::ProcessJobsAsync jobs cancelled likely due to timeout");
System.Diagnostics.Debug.WriteLine($"JobsBiz::ProcessJobsAsync {nameof(OperationCanceledException)} thrown with message: {e.Message}");
throw;
}
catch (Exception ex) catch (Exception ex)
{ {
log.LogError(ex, "JobsBiz::ProcessJobsAsync unexpected error during processing"); log.LogError(ex, "JobsBiz::ProcessJobsAsync unexpected error during processing");
//todo: alert OPS //TODO:OPSNOTIFY
} }
finally finally
{ {