Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: No JSON object could be decoded #49

Open
sentry-io bot opened this issue Oct 2, 2018 · 0 comments
Open

ValueError: No JSON object could be decoded #49

sentry-io bot opened this issue Oct 2, 2018 · 0 comments
Assignees

Comments

@sentry-io
Copy link

sentry-io bot commented Oct 2, 2018

When build.gluster.org API doesn't respond, we throw a traceback rather than catching it gracefully.

Sentry Issue: FSTAT-4

ValueError: No JSON object could be decoded
(5 additional frame(s) were not displayed)
...
  File "parser.py", line 95, in get_summary
    ]), verify=False).json()
  File "models.py", line 896, in json
    return complexjson.loads(self.text, **kwargs)
  File "__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant