fix typo preventing full exception to be displayed in log
closes gh-9901
This commit is contained in:
parent
807ce30948
commit
1d606ccedb
|
@ -221,7 +221,7 @@ public class OAuth2AuthorizationRequestRedirectFilter extends OncePerRequestFilt
|
||||||
|
|
||||||
private void unsuccessfulRedirectForAuthorization(HttpServletRequest request, HttpServletResponse response,
|
private void unsuccessfulRedirectForAuthorization(HttpServletRequest request, HttpServletResponse response,
|
||||||
Exception ex) throws IOException {
|
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(),
|
response.sendError(HttpStatus.INTERNAL_SERVER_ERROR.value(),
|
||||||
HttpStatus.INTERNAL_SERVER_ERROR.getReasonPhrase());
|
HttpStatus.INTERNAL_SERVER_ERROR.getReasonPhrase());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue