We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e259ace commit 9ef3e4dCopy full SHA for 9ef3e4d
activestorage/active.py
@@ -32,6 +32,9 @@ def return_storage_type(uri):
32
return
33
else:
34
return "s3"
35
+ except requests.exceptions.ConnectionError as exc: # eg invalid link or offline
36
+ print(exc)
37
+ return
38
response = resp.headers
39
40
# https files on NGINX don't have "gateway-protocol" key
0 commit comments