Update autohouse error logging.

This commit is contained in:
Patrick Fic
2022-06-29 09:48:26 -07:00
parent fbcf2b559e
commit fb4b12233a

View File

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