Skip to content

Handle login errors#10

Open
datagutten wants to merge 1 commit into
pam-param-pam:masterfrom
datagutten:master
Open

Handle login errors#10
datagutten wants to merge 1 commit into
pam-param-pam:masterfrom
datagutten:master

Conversation

@datagutten

Copy link
Copy Markdown
Contributor

Sometimes Disney returns an error in the JSON response even if the status code is 200.

@pam-param-pam pam-param-pam left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AuthException requires an object with .message and .status_code attr. Look at Exceptions.py

Providing it with a str will crash the program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants