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

RESOLVED FIXED

Status

RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

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
Last Resolved: 2 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.