imperfect-fourth / eywa

A flexible ORM-style GraphQL client
7 stars 0 forks source link

print the response body if it is not json #11

Open scriptnull opened 3 months ago

scriptnull commented 3 months ago

Got this error when trying to perform Exec()

invalid character '<' looking for beginning of value

In cases where json decoding fails, it would be good to return back the entire response for more context.