Skip to content

Catch WebClientException in reactive HaveIBeenPwned checker#19146

Open
therepanic wants to merge 1 commit intospring-projects:mainfrom
therepanic:gh-19142
Open

Catch WebClientException in reactive HaveIBeenPwned checker#19146
therepanic wants to merge 1 commit intospring-projects:mainfrom
therepanic:gh-19142

Conversation

@therepanic
Copy link
Copy Markdown
Contributor

This change will ensure consistent behavior in the event of an I/O error with the non-reactive version of HaveIBeenPwnedRestApiPasswordChecker.

Closes: gh-19142

This change will ensure consistent behavior in the event of an I/O error
with the non-reactive version of `HaveIBeenPwnedRestApiPasswordChecker`.

Closes: spring-projectsgh-19142

Signed-off-by: Andrey Litvitski <andrey1010102008@gmail.com>
Comment on lines -80 to +81
.onErrorResume(WebClientResponseException.class, (ex) -> Flux.empty());
.onErrorResume(WebClientException.class, (ex) -> Flux.empty());
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no test in either the reactive or non-reactive version that checks this, so I think we should either do nothing, or add two tests - one for the reactive version and one for the non-reactive version.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider catching WebClientException in HaveIBeenPwndApiReactivePasswordChecker

2 participants