IO-797 Add fault tolerance for scanning.
This commit is contained in:
@@ -117,6 +117,15 @@ namespace BodyshopPartner.Utils
|
||||
|
||||
private static async Task UpsertQueueItem(DTO_QueueItem item)
|
||||
{
|
||||
if (item.Job is Boolean)
|
||||
{
|
||||
//throw an error
|
||||
logger.Error("The currently process job is missing part of the EMS set and could not be processed.");
|
||||
string msg = Properties.Resources.Msg_NewJobUploadError;
|
||||
Notifications.notifier.ShowError(msg);
|
||||
return;
|
||||
|
||||
}
|
||||
//TODO: This should perform some sort of upsert to update the vehicle with more up to date information.
|
||||
|
||||
//Strip out what isn't needed by replacing it with nulls to save DB space.
|
||||
|
||||
Reference in New Issue
Block a user