Closed
Bug 1179963
Opened 9 years ago
Closed 8 years ago
RayGun fails to capture exceptions when stack trace locals have unicode
Categories
(Webtools Graveyard :: Pontoon, defect, P5)
Webtools Graveyard
Pontoon
Tracking
(firefox42 affected)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: osmose, Unassigned)
Details
RayGun appears to call str() on all locals in a stack trace before sending an exception off to their server, which breaks when one of those locals are unicode and need to be encoded. We currently have RayGun disabled as a workaround. I believe the solution would be to submit a PR to their Python library that casts the locals with unicode() instead of str(), but more testing of that is necessary.
Reporter | ||
Comment 1•9 years ago
|
||
Someone already reported this to Raygun: https://github.com/MindscapeHQ/raygun4py/issues/23 I've submitted a PR to their library: https://github.com/MindscapeHQ/raygun4py/pull/24
Assignee: nobody → mkelly
Comment 2•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/0a491ff77aeea8b121d4288e746995ccec785ec9 Bug 1179963: Re-enable raygun and use fork. Re-enables Raygun and temporarily uses my fork of raygun4py with a fix for our unicode issues. Once the fix gets merged we should switch back to the official library.
Updated•9 years ago
|
Priority: -- → P5
Reporter | ||
Updated•9 years ago
|
Assignee: mkelly → nobody
Reporter | ||
Comment 3•9 years ago
|
||
Only remaining step here is to switch back to using the default RayGun library once our two current PRs are merged upstream.
Comment 4•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/a4f92b3d4a56e98bedb1bfe519f718875b539067 Fix bug 1179963: switch back to default RayGun lib (#390)
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 5•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/pontoon https://github.com/mozilla/pontoon/commit/b6415bf23e3bb7002838a0a54a059cd2d21112fd Bug 1179963: Use new Raygun API
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•