Skip to content

Commit 14b4912

Browse files
committed
[ITA-2455] log level WARN in ValidationExceptionMapper
1 parent 6841b50 commit 14b4912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servicebuilder-core-addons/src/main/java/no/obos/util/servicebuilder/exception/ValidationExceptionMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public ValidationExceptionMapper(ExceptionUtil exceptionUtil) {
2424
public Response toResponse(ValidationException exception) {
2525
return exceptionUtil.handle(exception, cfg -> cfg
2626
.status(BAD_REQUEST.getStatusCode())
27-
.logLevel(LogLevel.ERROR)
27+
.logLevel(LogLevel.WARN)
2828
.detail("Valideringsfeil: " + exception.getLocalizedMessage())
2929
.logger(log)
3030
);

0 commit comments

Comments
 (0)