This commit is contained in:
2020-05-25 22:22:34 +00:00
parent a27066bbfd
commit a10a3e3069
4 changed files with 45 additions and 29 deletions

View File

@@ -338,13 +338,20 @@ namespace AyaNova.Biz
}
//STOCK JOBS
//Capture metrics
CoreJobMetricsSnapshot.DoJob();
//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)
{
log.LogError(ex, "JobsBiz::ProcessJobsAsync unexpected error during processing");