fix(bookin): corrected the bookin in error response
this could still print a label if the system detects the material properly but some other issue with alplaprod happened
This commit is contained in:
@@ -285,9 +285,15 @@ export const labelingProcess = async ({
|
||||
// "ocp",
|
||||
// `Error Booking in label: ${book.errors[0].message}`
|
||||
// );
|
||||
createLog(
|
||||
"error",
|
||||
"labeling",
|
||||
"ocp",
|
||||
`There was an error booking in the label: ${book?.errors[0]?.message}`
|
||||
);
|
||||
return {
|
||||
success: false,
|
||||
message: `Error Booking in label: ${book.errors[0]?.message}`,
|
||||
message: `Error Booking in label: ${book?.errors[0]?.message}`,
|
||||
data: book,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user