Skip to content

Commit 565aef5

Browse files
authored
feat(api): print more details for unexpected error (#5601)
1 parent acfaac8 commit 565aef5

File tree

1 file changed

+1
-1
lines changed
  • framework/src/main/java/org/tron/core/services/http

1 file changed

+1
-1
lines changed

framework/src/main/java/org/tron/core/services/http/Util.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public static String getMemo(byte[] memo) {
475475
}
476476

477477
public static void processError(Exception e, HttpServletResponse response) {
478-
logger.debug("Exception: {}", e.getMessage());
478+
logger.debug(e.getMessage(), e);
479479
try {
480480
response.getWriter().println(Util.printErrorMsg(e));
481481
} catch (IOException ioe) {

0 commit comments

Comments
 (0)