Closed Bug 1319636 Opened 8 years ago Closed 8 years ago

[traceback] AttributeError: 'NoneType' object has no attribute 'startswith' [antenna]

Categories

(Socorro :: Antenna, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

Attachments

(1 file)

Saw this in Sentry error email:

"""
AttributeError: 'NoneType' object has no attribute 'startswith'
(1 additional frame(s) were not displayed)
...
  File "antenna/metrics.py", line 235, in _timer_decorator
    return fun(*args, **kwargs)
  File "antenna/breakpad_resource.py", line 230, in on_post
    raw_crash, dumps = self.extract_payload(req)
  File "antenna/breakpad_resource.py", line 155, in extract_payload
    elif fs_item.type.startswith('application/octet-stream') or isinstance(fs_item.value, bytes):
"""

https://sentry.prod.mozaws.net/operations/antenna-stage/issues/369466/
Making this block the Antenna tracker bug. Will look into it on Monday.
Assignee: nobody → willkg
Blocks: 1315258
Status: NEW → ASSIGNED
Jansky can trigger this with the jansky.tests.TestMissingContentTypeHeader test.
This is merged. System tests look good. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Switching Antenna bugs to Antenna component.
Component: General → Antenna
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: