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

Fire event on print operation failure #136

Open
JoshGx2000 opened this issue Nov 8, 2023 · 0 comments
Open

Fire event on print operation failure #136

JoshGx2000 opened this issue Nov 8, 2023 · 0 comments

Comments

@JoshGx2000
Copy link

In the situation where the print operation fails, it'd be nice for a leaflet event to be fired signifying this (e.g. "easyPrint-failed" to go alongside "easyPrint-start" and "easyPrint-finished").

Currently there is no way of telling if a print operation has failed, because all errors are caught and only logged to console.

The use case of this is having an application enter one state when "easyPrint-start" is fired to then return to the original state on "easyPrint-finished" (or "easyPrint-failed"). Without a way to detect errors, the application is stuck in the state where it thinks easyPrint is still printing.

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

No branches or pull requests

1 participant