|
|
@@ -116,7 +116,7 @@ public class GlobalSystemExceptionHandler {
|
|
|
@ExceptionHandler(Exception.class)
|
|
|
public HttpResult defaultExceptionHandler(Exception ex) {
|
|
|
log.error("系统异常", ex);
|
|
|
- return HttpResult.error(HttpStatus.GLOBAL_EXCEPTION_CODE, HttpStatus.GLOBAL_EXCEPTION_MESSAGE);
|
|
|
+ return HttpResult.error(HttpStatus.GLOBAL_EXCEPTION_CODE, ex.toString());
|
|
|
}
|
|
|
|
|
|
}
|