Skip to content

patch rmtree_with_retry#275

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

patch rmtree_with_retry#275
AlbertoCasasOrtiz merged 2 commits intodevfrom
rmtree_with_retry-patch

Conversation

@carmichaelong
Copy link
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
Member

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

Copy link
Member

@AlbertoCasasOrtiz AlbertoCasasOrtiz left a comment

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