From 8d77802cde763eda3fcab05009f4b5c1438218da Mon Sep 17 00:00:00 2001 From: Colin McDonald Date: Fri, 17 Jun 2016 19:18:27 -0400 Subject: [PATCH] Print stack traces for internal errors --- src/main/java/net/frozenorb/apiv3/util/ErrorUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/frozenorb/apiv3/util/ErrorUtils.java b/src/main/java/net/frozenorb/apiv3/util/ErrorUtils.java index ebb7dbd..254102f 100644 --- a/src/main/java/net/frozenorb/apiv3/util/ErrorUtils.java +++ b/src/main/java/net/frozenorb/apiv3/util/ErrorUtils.java @@ -21,6 +21,7 @@ public class ErrorUtils { } public static void respondInternalError(RoutingContext ctx, Throwable error) { + error.printStackTrace(); respondGeneric(ctx, 500, "Internal error: " + error.getClass().getSimpleName()); }