Slightly improve error handling

Use raise from rather than raise where appropriate

Have a logic to reduce graphql page length if 400 Bad Request is
returned
This commit is contained in:
Alexander Graf committed 2018-04-18 15:58:45 +02:00
1 parent 066c3de113
commit 2d9acd9989
4 files changed
+54 -35

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ class InstaloaderException(Exception):
pass
class QueryReturnedBadRequestException(InstaloaderException):
pass
class QueryReturnedNotFoundException(InstaloaderException):
pass