Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(subversion): Throw IOException instead of DownloadException #8288

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

sschuberth
Copy link
Member

The initWorkingTree() function is documented to throw IOException, and that is what callers catch. Avoid ORT to crash on a

UnknownHostException -> SVNException -> DownloadException

chain by re-throwing a IOException here.

The `initWorkingTree()` function is documented to throw `IOException`,
and that is what callers catch. Avoid ORT to crash on a

`UnknownHostException` -> `SVNException` -> `DownloadException`

chain by re-throwing a `IOException` here.

Signed-off-by: Sebastian Schuberth <[email protected]>
@sschuberth sschuberth requested a review from a team as a code owner February 15, 2024 15:45
@sschuberth sschuberth enabled auto-merge (rebase) February 15, 2024 15:46
@sschuberth sschuberth merged commit 141be6e into main Feb 15, 2024
19 checks passed
@sschuberth sschuberth deleted the svn-exception-fix branch February 15, 2024 21:16
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.

2 participants