This commit is contained in:
@@ -100,6 +100,7 @@ namespace AyaNova.Biz
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.LogError(ex, $"Error processing customer notification event");
|
||||
DbUtil.HandleIfDatabaseUnavailableTypeException(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -141,6 +141,7 @@ namespace AyaNova.Biz
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.LogError(ex, $"Error processing notification event");
|
||||
DbUtil.HandleIfDatabaseUnavailableTypeException(ex);
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -56,7 +56,9 @@ namespace AyaNova.Biz
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.LogError(ex, $"Error processing PMGenerate ");
|
||||
await NotifyEventHelper.AddGeneralNotifyEvent(NotifyEventType.PMGenerationFailed, "PM Generate failure","Preventive Maintenance", ex);
|
||||
DbUtil.HandleIfDatabaseUnavailableTypeException(ex);
|
||||
await NotifyEventHelper.AddGeneralNotifyEvent(NotifyEventType.PMGenerationFailed, "PM Generate failure", "Preventive Maintenance", ex);
|
||||
|
||||
}
|
||||
finally
|
||||
{
|
||||
|
||||
@@ -58,6 +58,7 @@ namespace AyaNova.Biz
|
||||
catch (Exception ex)
|
||||
{
|
||||
log.LogError(ex, $"Error processing CoreJobPMInventoryCheck ");
|
||||
DbUtil.HandleIfDatabaseUnavailableTypeException(ex);
|
||||
await NotifyEventHelper.AddGeneralNotifyEvent(NotifyEventType.PMGenerationFailed, "PM Inventory check failure", "Preventive Maintenance", ex);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user