Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include status code in FlickrError Exception #87

Open
gconst02 opened this issue May 13, 2017 · 1 comment
Open

Include status code in FlickrError Exception #87

gconst02 opened this issue May 13, 2017 · 1 comment

Comments

@gconst02
Copy link

Currently only the message is added, although the Flickr exception has code as optional parameter.

For example here:
https://github.com/sybrenstuvel/flickrapi/blob/master/flickrapi/auth.py#L265

Adding the status code will be helpful for specific exceptions that are retriable and will be handled differently than others.

@sybrenstuvel
Copy link
Owner

Good idea.

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

No branches or pull requests

2 participants