This commit is contained in:
parent
449a23f080
commit
06792727ef
|
@ -176,7 +176,7 @@ class PrintServer {
|
|||
|
||||
// Print PDF
|
||||
try {
|
||||
// await pExec(printCommand);
|
||||
await pExec(printCommand);
|
||||
} catch(err) {
|
||||
await fs.unlink(tmpFilePath);
|
||||
throw new Error(`Print error: '${printCommand}': ${err.message}`);
|
||||
|
|
Loading…
Reference in New Issue