refs #4550 Hotfix: print uncommented
gitea/printnatura/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2022-12-23 14:09:54 +01:00
parent 34413c7c57
commit d6a3b831e7
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class PrintServer {
// Print PDF // Print PDF
try { try {
//await pExec(`lp -d "${printer}" "${tmpFilePath}"`); await pExec(`lp -d "${printer}" "${tmpFilePath}"`);
} catch(err) { } catch(err) {
await fs.unlink(tmpFilePath); await fs.unlink(tmpFilePath);
throw new Error(`Print error: ${err.message}`); throw new Error(`Print error: ${err.message}`);