Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: printer parsing crashing on certain systems #117

Merged
merged 2 commits into from
May 13, 2024
Merged

Conversation

Saschl
Copy link
Contributor

@Saschl Saschl commented May 12, 2024

  • Use the same version of pdf-to-printer (newer versions have an error in the validation of the output and crash) as the installer.

  • Improve logger for the printer service to print the actual error if no stacktrace is available.

Note: this is meant to be a quick fix, the package pdf-to-printer is archived currently, we might need to fork it or use another library in the future. Also the logging config should be looked at in the future as this error was not visible without printing it directly.

@Saschl Saschl requested a review from Lucky38i May 13, 2024 21:38
@Saschl Saschl merged commit dbddf3e into main May 13, 2024
1 check passed
@Saschl Saschl deleted the fix/printer-config branch May 13, 2024 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants