Skip to content

Fire event on print operation failure #136

Description

@JoshGx2000

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions