Closed
Bug 1873778
Opened 1 year ago
Closed 11 months ago
malformed sym files cause eliot to send two sentry events
Categories
(Eliot :: General, defect, P3)
Eliot
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: willkg, Assigned: relud)
Details
Attachments
(1 file)
When Eliot goes to parse a sym file that's malformed--say because it was missing an INLINE_ORIGIN
symbol (bug #1794095)--it causes Sentry to send two events.
One event gets sent from this LOGGER.exception
in symbolicate_resource.parse_sym_file
:
That one is probably fine and we should leave that as is.
The other event is sent from this LOGGER.exception
in libsymbolic.parse_sym_file
:
That one is from a library module. I claim it shouldn't be logging exceptions and instead it should raise an exception and let the caller decide what to do about it (log an exception, emit a metric, etc).
Assignee | ||
Comment 1•1 year ago
|
||
Assignee: nobody → dthorn
Assignee | ||
Updated•1 year ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 months ago
|
||
Reporter | ||
Comment 3•11 months ago
|
||
This was deployed to prod in bug #1886236. Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•