fix(misc): work on ocp to improve the errors that were missed and better logging

This commit is contained in:
2025-03-30 10:11:58 -05:00
parent a5dee58223
commit 63b1151cb7
7 changed files with 78 additions and 26 deletions

View File

@@ -52,7 +52,7 @@ export const labelingProcess = async ({
const macId = await getMac(line);
// filter out the lot for the line
filteredLot = lots.data.filter(
(l: any) => l.MachineID === macId[0].HumanReadableId
(l: any) => l.MachineID === macId[0]?.HumanReadableId
);
if (filteredLot.length === 0) {