异常输出
This commit is contained in:
parent
41ceecfed8
commit
8c4225b2b9
|
|
@ -124,7 +124,7 @@ public class CzgControllerAdvice {
|
|||
*/
|
||||
@ExceptionHandler(ValidateException.class)
|
||||
public CzgResult<Object> handleValidateException(ValidateException ex) {
|
||||
setErrorLog(ex);
|
||||
log.error(ex.getMessage());
|
||||
return CzgResult.failure(CzgRespCode.PARAM_ERROR.getCode(), ex.getMessage());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue