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(scanner): Catch a DownloadException instead of IOException #8303

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

sschuberth
Copy link
Member

The downloadRecursively() function rethrows IOException as DownloadException, so the latter needs to be catched here.

@sschuberth sschuberth requested a review from a team as a code owner February 19, 2024 08:19
The `downloadRecursively()` function rethrows `IOException` as
`DownloadException`, so the latter needs to be catched here.

Signed-off-by: Sebastian Schuberth <[email protected]>
Copy link
Member

@fviernau fviernau left a comment

Choose a reason for hiding this comment

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

Can we auto close 8116 with this commit?

@sschuberth
Copy link
Member Author

Can we auto close 8116 with this commit?

I'm not sure whether this is the only cause, so I left it open for now for the OP to confirm the bug to be resolved, and close manually.

@sschuberth sschuberth requested a review from fviernau February 19, 2024 08:53
@fviernau fviernau dismissed their stale review February 19, 2024 08:58

addressed.

@sschuberth sschuberth merged commit 5d77dd3 into main Feb 19, 2024
20 of 21 checks passed
@sschuberth sschuberth deleted the fix-dl-exception branch February 19, 2024 09:00
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