fix(misc): work on ocp to improve the errors that were missed and better logging
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user