Skip to content

Work with non json responses #25

@dothebart

Description

@dothebart

In some cases the server will not reply with a json response; If thats the case the java driver seems to invoke the json driver anyways, which then in term throws an exception.
The resulting exception however doesn't contain any useful information about the real error itself.

Thus the javadriver should check the content type, and catch parser errors so it can give the user the actual error message.

It seems as if this line is missing the exception handling:
at com.arangodb.entity.EntityFactory.createEntity(EntityFactory.java:109)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions