-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch ChunkedEncodingError in stream as well as sample
This is a refactor of stream and sample so that ChunkedEncodingError is caught in both. Also checking for disconnect errors is done in both now instead of only sample. Logging was enhanced to include the ids for tweets that have been archived, as it was in twarc1. See #471 (again) for background details about ChunkedEncodingError.
- Loading branch information
Showing
4 changed files
with
65 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -245,3 +245,4 @@ def new_f(self, *args, **kwargs): | |
return f(self, *args, **kwargs) | ||
|
||
return new_f | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version = "2.3.3" | ||
version = "2.3.4" |