Closed
Bug 1385957
Opened 7 years ago
Closed 7 years ago
[traceback] KeyError: 'json_dump' in OSInfoRule
Categories
(Socorro :: Processor, task)
Socorro
Processor
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: willkg)
Details
Attachments
(1 file)
From: https://sentry.prod.mozaws.net/operations/socorro-prod/issues/606815/
"""
KeyError: 'json_dump'
File "socorro/lib/transform_rules.py", line 148, in action
return self._action(*args, **kwargs)
File "socorro/processor/general_transform_rules.py", line 56, in _action
system_info = processed_crash.json_dump.get('system_info')
"""
That's in OSInfoRule. I fixed this issue in CPUInfoRule already.
This bug covers fixing OSInfoRule json_dump usage.
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Comment 2•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla-services/socorro
https://github.com/mozilla-services/socorro/commit/9926fe7efce03a4a7f11c91a692ed6f62f31dd4c
fixes bug 1385957 - fix to safely get json_dump (#3873)
* fixes bug 1385957 - fix to safely get json_dump
* Fix goof where it defaulted to None which is equally bad
* Fix broken test
The test expected _action() to throw an exception and return False, but it
doesn't do that anymore. This fixes that aspect of the test.
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•