mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -42,7 +42,7 @@ public class GlobalExceptionHandler {
|
||||
*/
|
||||
@ExceptionHandler(value = NullPointerException.class)
|
||||
public ApiResult exceptionHandler(NullPointerException e) {
|
||||
log.error("null point exception!The reason is:{}", e.getMessage(), e);
|
||||
log.error("null point exception!The reason is: ", e);
|
||||
return ApiResult.fail(CommonErrorEnum.SYSTEM_ERROR);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user