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

Provide useful info if Template message submission fails #118

Open
KaitCrawford opened this issue Sep 19, 2019 · 0 comments
Open

Provide useful info if Template message submission fails #118

KaitCrawford opened this issue Sep 19, 2019 · 0 comments

Comments

@KaitCrawford
Copy link
Contributor

KaitCrawford commented Sep 19, 2019

https://github.com/praekeltfoundation/rp-sidekick/blob/develop/sidekick/views.py#L119-L123
These lines should call raise_for_status or provide some other useful information if the request to Turn fails.
Currently they throw JSONDecodeError Expecting value: line 1 column 1 (char 0) instead.

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