Skip to content

bug/feature: Silent Exceptions in Keybinding Event Handlers #1930

@zokrezyl

Description

@zokrezyl

When a keybinding event handler raises an exception, it seems to be "swallowed" silently by the application, causing difficult-to-trace bugs. Ideally, exceptions raised within keybinding event handlers should either be propagated or logged, allowing for better debugging and error handling.

Steps to reproduce:

Add a keybinding event handler that intentionally raises an exception.
Run the application and trigger the keybinding.
Observe that the exception does not surface or get logged, and the application continues as if nothing happened.
Expected behavior: Exceptions within keybinding event handlers should either be displayed, logged, or propagated, rather than being silently ignored.

Regards,
Z

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions