Merge remote-tracking branch 'origin/main'

This commit is contained in:
zbzbzzz
2023-07-03 18:08:13 +08:00

View File

@@ -42,7 +42,7 @@ public class GlobalExceptionHandler {
*/
@ExceptionHandler(value = NullPointerException.class)
public ApiResult exceptionHandler(NullPointerException e) {
log.error("null point exceptionThe reason is:{}", e.getMessage(), e);
log.error("null point exceptionThe reason is: ", e);
return ApiResult.fail(CommonErrorEnum.SYSTEM_ERROR);
}