mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-01 10:59:16 +00:00
fix typo preventing full exception to be displayed in log
closes gh-9901
This commit is contained in:
parent
1d48f31e4b
commit
1cd4ffeeb7
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2018 the original author or authors.
|
* Copyright 2002-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -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…
x
Reference in New Issue
Block a user