Print stack traces for internal errors
This commit is contained in:
parent
b98dcd0a83
commit
8d77802cde
|
@ -21,6 +21,7 @@ public class ErrorUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void respondInternalError(RoutingContext ctx, Throwable error) {
|
public static void respondInternalError(RoutingContext ctx, Throwable error) {
|
||||||
|
error.printStackTrace();
|
||||||
respondGeneric(ctx, 500, "Internal error: " + error.getClass().getSimpleName());
|
respondGeneric(ctx, 500, "Internal error: " + error.getClass().getSimpleName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue