Closed Bug 1102379 Opened 11 years ago Closed 11 years ago

middleware raises error when no crash found in S3

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: lars)

References

Details

https://errormill.mozilla.org/webtools/socorro-stage/group/174360/ AttributeError: 'NoneType' object has no attribute 'get_contents_as_string' Stacktrace (most recent call last): File "socorro/middleware/middleware_app.py", line 588, in GET result = method(**params) File "socorro/external/crash_data_base.py", line 70, in get return get(params.uuid) File "socorro/external/boto/crashstorage.py", line 318, in get_unredacted_processed return self.transaction(self._do_get_unredacted_processed, crash_id) File "socorro/database/transaction_executor.py", line 104, in __call__ result = function(connection, *args, **kwargs) File "socorro/external/boto/crashstorage.py", line 305, in _do_get_unredacted_processed "processed_crash" File "socorro/external/boto/crashstorage.py", line 364, in _fetch_from_boto_s3 return storage_key.get_contents_as_string()
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/9a5dbb81d73724cdfbf0c1a0cec488d8596c4342 Merge pull request #2492 from twobraids/boto-get-key-returns-none Fixes Bug 1102379 - fixed case where get-key returns None
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111
You need to log in before you can comment on or make changes to this bug.