fix(create labels): better logging to know where the error came from

This commit is contained in:
2025-07-25 07:31:43 -05:00
parent 8594d72d2c
commit d40ed30f55

View File

@@ -137,7 +137,7 @@ export const createLabel = async (data: any, userPrinted: any) => {
"info", "info",
"labeling", "labeling",
"ocp", "ocp",
`${printer[0].name}, "Error: ${error}` `There was an error creating the label for, ${printer[0].name}, "Error: ${error}`
); );
return { return {
success: false, success: false,