Remove debug

This commit is contained in:
Colin McDonald 2016-06-22 17:36:20 -04:00
parent d47b0a6170
commit 152492eb06

View File

@ -328,9 +328,6 @@ public final class APIv3 extends AbstractVerticle {
public static void respondJson(RoutingContext ctx, int code, Object response) {
ctx.response().putHeader(HttpHeaders.CONTENT_TYPE, MediaType.JSON_UTF_8.toString());
ctx.response().setStatusCode(code);
if (!ctx.request().path().contains("dumps")) {
log.info(gson.toJson(response));
}
ctx.response().end(gson.toJson(response));
}