mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-21 19:23:48 +01:00
Fix log level for ValidationException
This commit is contained in:
parent
597e3ab165
commit
2c1e634a1a
@ -68,7 +68,7 @@ public class BaseController {
|
||||
@ExceptionHandler(ValidationException.class)
|
||||
@ResponseStatus(HttpStatus.BAD_REQUEST)
|
||||
public RestErrors handleValidationErrors(@NotNull ValidationException ex) {
|
||||
logger.error(ex.getMessage(), ex);
|
||||
logger.debug(ex.getMessage(), ex);
|
||||
return new RestErrors(ex.getErrors(), messageSource);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user