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

'SailthruResponseError' object has no attribute 'msg' #71

Open
gogolaylago opened this issue Oct 26, 2018 · 0 comments
Open

'SailthruResponseError' object has no attribute 'msg' #71

gogolaylago opened this issue Oct 26, 2018 · 0 comments

Comments

@gogolaylago
Copy link

gogolaylago commented Oct 26, 2018

Hi there,

reponse.get_error() only returns error code, but not the error message. However the error message does come through reponse.get_body().

>>> response.get_error().code
99
>>> response.get_error().msg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'SailthruResponseError' object has no attribute 'msg'
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

No branches or pull requests

1 participant