Skip to content

Unhelpful error message if JSON parsing fails #5

@Ch00k

Description

@Ch00k
$ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions