Closed
Bug 1614985
Opened 6 years ago
Closed 6 years ago
[traceback] "JSONDecodeError: Expecting value" in collector
Categories
(Socorro :: Antenna, defect, P2)
Socorro
Antenna
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
https://sentry.prod.mozaws.net/operations/socorro-new-prod/issues/7260715/
JSONDecodeError: Expecting value: line 1 column 2233 (char 2232)
File "raven/middleware.py", line 20, in common_exception_handling
yield
File "raven/middleware.py", line 100, in __call__
iterable = self.application(environ, start_response)
File "falcon/api.py", line 244, in __call__
responder(req, resp, **params)
File "markus/main.py", line 489, in _timer_decorator
return fun(*args, **kwargs)
File "antenna/breakpad_resource.py", line 401, in on_post
raw_crash, dumps = self.extract_payload(req)
File "antenna/breakpad_resource.py", line 318, in extract_payload
raw_crash = json.loads(fs_item.value)
File "json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
The json.loads code should be wrapped in a try/except to handle errors.
| Assignee | ||
Comment 1•6 years ago
|
||
Grabbing this to do now.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
| Assignee | ||
Comment 4•6 years ago
|
||
This went to prod just now in bug #1617958. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•