Skip to content

Methods marked with @Catch(Throwable.class) catch all Results #1061

Description

@asolntsev

PR #963 introduced a bug: now every controller method marked with annotation @Catch(Throwable.class) also catches all Result (e.g. RenderTemplate, Redirect etc.)

We need to fix it. @Catch methods should NOT catch exceptions of class Result.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions