Skip to content

Commit

Permalink
Document some errors, bump v1.10.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonami committed Oct 27, 2019
1 parent 0a8103b commit baaceca
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion telethon/network/connection/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 113,7 @@ async def disconnect(self):
try:
await self._writer.wait_closed()
except Exception as e:
# Seen OSError: No route to host
# Seen OSError: No route to host and [Errno 32] Broken pipe
# Disconnecting should never raise
self._log.warning('Unhandled %s on disconnect: %s', type(e), e)

Expand Down
2 changes: 1 addition & 1 deletion telethon/version.py
Original file line number Diff line number Diff line change
@@ -1,3 1,3 @@
# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '1.10.6'
__version__ = '1.10.7'
1 change: 1 addition & 0 deletions telethon_generator/data/errors.csv
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 96,7 @@ FILE_PART_0_MISSING,,File part 0 missing
FILE_PART_EMPTY,400,The provided file part is empty
FILE_PART_INVALID,400,The file part number is invalid
FILE_PART_LENGTH_INVALID,400,The length of a file part is invalid
FILE_PART_SIZE_CHANGED,400,The file part size (chunk size) cannot change during upload
FILE_PART_SIZE_INVALID,400,The provided file part size is invalid
FILE_PART_X_MISSING,400,Part {which} of the file is missing from storage
FILEREF_UPGRADE_NEEDED,406,The file reference needs to be refreshed before being used again
Expand Down
2 changes: 1 addition & 1 deletion telethon_generator/data/methods.csv
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 293,7 @@ upload.getFile,both,AUTH_KEY_PERM_EMPTY FILE_ID_INVALID INPUT_FETCH_FAIL LIMIT_I
upload.getFileHashes,both,
upload.getWebFile,user,LOCATION_INVALID
upload.reuploadCdnFile,both,RSA_DECRYPT_FAILED
upload.saveBigFilePart,both,FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_INVALID Timeout
upload.saveBigFilePart,both,FILE_PARTS_INVALID FILE_PART_EMPTY FILE_PART_INVALID FILE_PART_SIZE_CHANGED FILE_PART_SIZE_INVALID Timeout
upload.saveFilePart,both,FILE_PART_EMPTY FILE_PART_INVALID INPUT_FETCH_FAIL SESSION_PASSWORD_NEEDED
users.getFullUser,both,Timeout USER_ID_INVALID
users.getUsers,both,AUTH_KEY_PERM_EMPTY MEMBER_NO_LOCATION NEED_MEMBER_INVALID SESSION_PASSWORD_NEEDED Timeout
Expand Down

0 comments on commit baaceca

Please sign in to comment.