Skip to content

Commit

Permalink
fix: printer parsing crashing on certain systems
Browse files Browse the repository at this point in the history
  • Loading branch information
Saschl committed May 12, 2024
1 parent 00bdec9 commit c2f68a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/server/src/utilities/printer.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class PrinterService {
this.logger.warn('Printer disabled or null printerName');
return null;
} catch (error) {
this.logger.error('Error retrieving printers list', error);
this.logger.error(`Error retrieving printers list: ${error}`, error);
return null;
}
}
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"nest-winston": "^1.6.2",
"node-hide-console-window": "^2.2.0",
"open": "^8.4.0",
"pdf-to-printer": "^5.2.0",
"pdf-to-printer": "5.3.0",
"pdfjs-dist": "^2.13.216",
"pdfkit": "^0.13.0",
"react": "^17.0.0",
Expand Down

0 comments on commit c2f68a5

Please sign in to comment.