urllib3 SSLError check when downloading the track

This commit is contained in:
RemixDev 2020-11-30 16:45:53 +01:00
parent 958f80c1f8
commit 2c807ffc43
No known key found for this signature in database
GPG key ID: B33962B465BDB51C

View file

@ -709,7 +709,7 @@ class DownloadJob:
self.downloadPercentage += chunkProgres
self.updatePercentage()
except SSLError as e:
except (SSLError, u3SSLError) as e:
logger.info(f'{itemName} retrying from byte {chunkLength}')
return self.streamTrack(stream, track, chunkLength)
except (request_exception.ConnectionError, requests.exceptions.ReadTimeout):