Merged in hotfix/2022-06-28 (pull request #527)

Update autohouse error logging.

Approved-by: Patrick Fic
This commit is contained in:
Patrick Fic
2022-06-29 17:34:54 +00:00

View File

@@ -198,7 +198,7 @@ const CreateRepairOrderTag = (job, errorCallback) => {
if (!job.job_totals) { if (!job.job_totals) {
errorCallback({ errorCallback({
jobid: jobid, jobid: job.id,
ro_number: job.ro_number, ro_number: job.ro_number,
error: { toString: () => "No job totals for RO." }, error: { toString: () => "No job totals for RO." },
}); });
@@ -674,7 +674,7 @@ const CreateRepairOrderTag = (job, errorCallback) => {
error, error,
}); });
errorCallback({ jobid: jobid, ro_number: job.ro_number, error }); errorCallback({ jobid: job.id, ro_number: job.ro_number, error });
} }
}; };