Skip to content

AssertionErrors are swallowed in handle_exceptions #135

@alvaro-garcia-carrasco

Description

@alvaro-garcia-carrasco

Whenever an AssertionError is raised inside a method, it is handled as an InvalidParamsResponse by the exception handler and the exception does not get logged (here).

I have lots of assertion checks to verify the correct behaviour of the server and it becomes very difficult to debug errors raised by them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions