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

Unhelpful error message if JSON parsing fails #5

Open
Ch00k opened this issue Nov 16, 2020 · 0 comments
Open

Unhelpful error message if JSON parsing fails #5

Ch00k opened this issue Nov 16, 2020 · 0 comments

Comments

@Ch00k
Copy link
Owner

Ch00k commented Nov 16, 2020

$ orthanc -s https://httpbin.org patient list
 Error   expected value at line 1 column 1

The HTTP request is successful, but what we receive back is not JSON, so serde_json returns an error (probably here)
Need to figure out how to deal with these kinds of errors.

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