Skip to content

Commit

Permalink
optimize: warn log print in GlobalExceptionHandlerConfig.java (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
chivehao committed Oct 25, 2023
1 parent 39aec09 commit 8f6b5e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private static Mono<Void> writeResponse(ServerHttpResponse response,
response.getHeaders()
.add(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON.toString());
} catch (UnsupportedOperationException e2) {
log.warn("add http header context type fail", e2);
// log.warn("add http header context type fail", e2);
}
}
response.setStatusCode(httpStatus);
Expand Down

0 comments on commit 8f6b5e0

Please sign in to comment.