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

[sftp] Catch FileNotFoundError rather than OSError in .exists() #1087

Merged
merged 1 commit into from
Oct 30, 2021

Conversation

jschneier
Copy link
Owner

This was covering up socket.timeout exceptions.

Fixes #1064.

This was covering up socket.timeout exceptions.
@jschneier jschneier merged commit 903f5b1 into master Oct 30, 2021
@jschneier jschneier deleted the sftp-exists-fix branch October 30, 2021 02:16
mlazowik pushed a commit to qedsoftware/django-storages that referenced this pull request Mar 9, 2022
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.

SFTPStorage: keep trying to connect when timeout (in a loop)
1 participant