neo4j/community — Issue #131: RestfulGraphDatabase should catch json parse errors
Author: akollegger
Created: 2011-12-14 15:33:03+00:00
State: open
Labels: REST, server

because the server may not always return proper json (for instance when returning a 401 or 403), don't assume that parsing will succeed. catch the non-json (or first the auth issue) and throw a reasonable exception based on that