Skip to content

Fix #3513 - throw the right error#3514

Merged
hjr3 merged 2 commits intobrianc:masterfrom
mathiasbockwoldt:master
Jul 28, 2025
Merged

Fix #3513 - throw the right error#3514
hjr3 merged 2 commits intobrianc:masterfrom
mathiasbockwoldt:master

Conversation

@mathiasbockwoldt
Copy link
Copy Markdown
Contributor

Due to a recent change, the thrown error for invalid URLs was not the excepted error, but another error, which made the problem hard to understand.
This PR re-throws the original error (with redacted password).
The existing test was updated to make sure the right error is thrown.

Re-throw the caught error with redacted details.
@mathiasbockwoldt mathiasbockwoldt requested a review from hjr3 as a code owner July 17, 2025 09:20
@dunghuynh-kdi
Copy link
Copy Markdown

@hjr3 Is there any chance we could get your approval for this PR, pretty please?

@dunghuynh-kdi
Copy link
Copy Markdown

@hjr3 thank you!!

@hjr3 hjr3 merged commit 1b2bedc into brianc:master Jul 28, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants