Skip to content

Commit

Permalink
feat(api): print more details for unexpected error (#5601)
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 authored Dec 27, 2023
1 parent acfaac8 commit 565aef5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ public static String getMemo(byte[] memo) {
}

public static void processError(Exception e, HttpServletResponse response) {
logger.debug("Exception: {}", e.getMessage());
logger.debug(e.getMessage(), e);
try {
response.getWriter().println(Util.printErrorMsg(e));
} catch (IOException ioe) {
Expand Down

0 comments on commit 565aef5

Please sign in to comment.