Skip to content

Commit

Permalink
Update ControllerMethodWriter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SentryMan committed Nov 26, 2024
1 parent 7a504cf commit 2b45464
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void writeRouting() {
final String fullPath = segments.fullPath();

if (method.isErrorMethod()) {
writer.append(" routing.error(this::_%s)", fullPath, method.simpleName());
writer.append(" routing.error(%s.class, this::_%s);", method.exceptionShortName(), method.simpleName()).eol();
} else if (isFilter) {
writer.append(" routing.filter(this::_%s)", method.simpleName());
} else {
Expand Down

0 comments on commit 2b45464

Please sign in to comment.