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",
|
"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,
|
||||||
|
|||||||
Reference in New Issue
Block a user