projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31db116
)
Handle ChunkedEncodingError during streaming
author
Harmon
<Harmon758@gmail.com>
Sun, 4 Apr 2021 14:50:41 +0000
(09:50 -0500)
committer
Harmon
<Harmon758@gmail.com>
Sun, 4 Apr 2021 14:50:41 +0000
(09:50 -0500)
tweepy/streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/streaming.py
b/tweepy/streaming.py
index 917408f5dcc601c2f7f80ab64dcd62981a771aff..fbad440e91a1a26a028daa9180ccd72d4c039e28 100644
(file)
--- a/
tweepy/streaming.py
+++ b/
tweepy/streaming.py
@@
-119,6
+119,7
@@
class Stream:
if http_error_wait > http_error_wait_max:
http_error_wait = http_error_wait_max
except (requests.ConnectionError, requests.Timeout,
+ requests.exceptions.ChunkedEncodingError,
ssl.SSLError, urllib3.exceptions.ReadTimeoutError,
urllib3.exceptions.ProtocolError) as exc:
# This is still necessary, as a SSLError can actually be