Skip to content

Stop Notifier from raising an exception if it has been handled by on_error #775

Closed
@aajn

Description

@aajn

Currently, when an exception is raised by a bus (e.g. bus-off) the Notifier allows listeners to handle the error with the on_error method. In the Listener documentation I can see that

This method is called to handle any exception in the receive thread

But this does not stop the Notifier from raising an exception anyway.

Would it make sense to stop Notifier from raising an Exception if on_error is called or returns True, to stop this behavior?

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