Skip to content

ValueError: No JSON object could be decoded #49

Description

@sentry

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")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions