Move body handler up in the route order to fix stack traces we were having
This commit is contained in:
parent
752c2cae96
commit
0071291236
@ -271,10 +271,10 @@ public final class APIv3 extends AbstractVerticle {
|
||||
|
||||
http.route().handler(LoggerHandler.create(LoggerFormat.TINY));
|
||||
http.route().handler(TimeoutHandler.create(TimeUnit.SECONDS.toMillis(5)));
|
||||
http.route().method(HttpMethod.PUT).method(HttpMethod.POST).method(HttpMethod.DELETE).handler(BodyHandler.create());
|
||||
http.route().handler(new ActorAttributeHandler());
|
||||
http.route().handler(new MetricsHandler());
|
||||
http.route().handler(new AuthorizationHandler());
|
||||
http.route().method(HttpMethod.PUT).method(HttpMethod.POST).method(HttpMethod.DELETE).handler(BodyHandler.create());
|
||||
http.exceptionHandler(Throwable::printStackTrace);
|
||||
|
||||
// TODO: The commented out routes
|
||||
|
Loading…
Reference in New Issue
Block a user