jkeyes/python-intercom — pull request #5 by marselester (2013-02-11 11:34:18+00:00)
Title: Catch ``ValueError`` in ``api_call`` decorator

When json response is incorrect ``api_call`` raises ``ValueError: No JSON object could be decoded``. I propose to catch it and raise ``ServerError``.