Skip to content

Commit c439cfe

Browse files
committed
Merge branch '6.1.x' into 6.2.x
2 parents c036213 + ce9f182 commit c439cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/main/java/org/springframework/security/web/server/authentication/AuthenticationWebFilter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -125,7 +125,7 @@ private Mono<Void> authenticate(ServerWebExchange exchange, WebFilterChain chain
125125
.flatMap(
126126
(authentication) -> onAuthenticationSuccess(authentication, new WebFilterExchange(exchange, chain)))
127127
.doOnError(AuthenticationException.class,
128-
(ex) -> logger.debug(LogMessage.format("Authentication failed: %s", ex.getMessage())));
128+
(ex) -> logger.debug(LogMessage.format("Authentication failed: %s", ex.getMessage()), ex));
129129
}
130130

131131
protected Mono<Void> onAuthenticationSuccess(Authentication authentication, WebFilterExchange webFilterExchange) {

0 commit comments

Comments
 (0)