fix(create labels): better logging to know where the error came from
This commit is contained in:
@@ -137,7 +137,7 @@ export const createLabel = async (data: any, userPrinted: any) => {
|
||||
"info",
|
||||
"labeling",
|
||||
"ocp",
|
||||
`${printer[0].name}, "Error: ${error}`
|
||||
`There was an error creating the label for, ${printer[0].name}, "Error: ${error}`
|
||||
);
|
||||
return {
|
||||
success: false,
|
||||
|
||||
Reference in New Issue
Block a user