We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b515fb8 commit c5e76b1Copy full SHA for c5e76b1
jooby/src/main/java/io/jooby/AssetHandler.java
@@ -71,7 +71,7 @@ public AssetHandler(AssetSource... sources) {
71
}
72
// Still null?
73
if (asset == null) {
74
- ctx.sendError(new StatusCodeException(StatusCode.NOT_FOUND));
+ ctx.send(StatusCode.NOT_FOUND);
75
return ctx;
76
77
0 commit comments