Skip to content

patch rmtree_with_retry#275

Merged
AlbertoCasasOrtiz merged 2 commits into
devfrom
rmtree_with_retry-patch
Oct 7, 2025
Merged

patch rmtree_with_retry#275
AlbertoCasasOrtiz merged 2 commits into
devfrom
rmtree_with_retry-patch

Conversation

@carmichaelong

Copy link
Copy Markdown
Contributor

@AlbertoCasasOrtiz I saw this didn't quite work on sentry (FileNotFoundError is still being raised at the end of retries). I missed that FileNotFoundError inherits from OSError (https://docs.python.org/3/library/exceptions.html#os-exceptions), so need to catch it first.

@AlbertoCasasOrtiz

Copy link
Copy Markdown
Member

Looking good. I will test download in dev and create a new PR main<-dev.

@AlbertoCasasOrtiz AlbertoCasasOrtiz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, good catch

@AlbertoCasasOrtiz AlbertoCasasOrtiz merged commit 4443aa5 into dev Oct 7, 2025
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