openreview-py icon indicating copy to clipboard operation
openreview-py copied to clipboard

catch ValueError and returns an OpenReview exception

Open melisabok opened this issue 7 years ago • 0 comments

Usually we get this error:

  File "//anaconda/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded”)

catch this value and return an exception.

Also we can check what is causing this error and what is returning in the response

melisabok avatar Jan 30 '18 16:01 melisabok