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