openreview-py
openreview-py copied to clipboard
catch ValueError and returns an OpenReview exception
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