Skip to content

ErrorHandler only handles Exceptions not Errors or other Throwables #503

@lambdaupb

Description

@lambdaupb

The ErrorHandler interface is only designed for Exception and its subclasses, but the hierarchy is rooted at Throwable. Especially some 500 errors are of type Error.

I had an instance where I was confronted with the default Jetty error page, showing the whole stacktrace because Pippos dispatch only catches Exception and not Throwable.

There might be some research of reasonable behaviour needed, but as Jetty is handling Error types, pippo should probably as well.

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