forked from platformio/platformio-core
Fix "ChunkedEncodingError" when SF connection is broken // Issue #356
This commit is contained in:
1 parent
43b50e5b9f
commit
0ff795e798
3 files changed
+8
-1
No files matched your search
@@ -101,6 +101,7 @@ class PackageManager(object):
|
||||
try:
|
||||
dlpath = self.download(info['url'], pkg_dir, info['sha1'])
|
||||
except (requests.exceptions.ConnectionError,
|
||||
requests.exceptions.ChunkedEncodingError,
|
||||
exception.FDUnrecognizedStatusCode, StopIteration):
|
||||
if info['url'].startswith("http://sourceforge.net"):
|
||||
dlpath = self.download(
|
||||
|
||||
Reference in new issue
Block a user