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:
1 parent
066c3de113
commit
2d9acd9989
4 files changed
+54
-35
No files matched your search
@@ -5,6 +5,10 @@ class InstaloaderException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class QueryReturnedBadRequestException(InstaloaderException):
|
||||
pass
|
||||
|
||||
|
||||
class QueryReturnedNotFoundException(InstaloaderException):
|
||||
pass
|
||||
|
||||
|
||||
Reference in new issue
Block a user