fix typo preventing full exception to be displayed in log

closes gh-9901
This commit is contained in:
Arnaud Mergey 2021-06-14 17:48:24 +02:00 committed by Josh Cummings
parent 807ce30948
commit 1d606ccedb
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ public class OAuth2AuthorizationRequestRedirectFilter extends OncePerRequestFilt
private void unsuccessfulRedirectForAuthorization(HttpServletRequest request, HttpServletResponse response,
Exception ex) throws IOException {
this.logger.error(LogMessage.format("Authorization Request failed: %s", ex, ex));
this.logger.error(LogMessage.format("Authorization Request failed: %s", ex), ex);
response.sendError(HttpStatus.INTERNAL_SERVER_ERROR.value(),
HttpStatus.INTERNAL_SERVER_ERROR.getReasonPhrase());
}