Commit a4df9515 authored by yanzg's avatar yanzg

常规BUG的修改

parent a179305b
...@@ -165,7 +165,7 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -165,7 +165,7 @@ public class BaseRequestAspect implements ThreadNext.Next {
long time = System.currentTimeMillis() - start; long time = System.currentTimeMillis() - start;
if (resultEx != null) { if (resultEx != null) {
responseResult = ExceptionHelper.getError(resultEx); responseResult = ExceptionHelper.getError(resultEx);
Log.error(joinPoint.getSignature().getDeclaringType(), "%s [ %s ] time %d ms, result: %s", Log.error(joinPoint.getSignature().getDeclaringType(), resultEx, "%s [ %s ] time %d ms, result: %s",
tag, name, time, getMaxString(JsonHelper.serialize(responseResult))); tag, name, time, getMaxString(JsonHelper.serialize(responseResult)));
resultEx.printStackTrace(); resultEx.printStackTrace();
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment