Closed
Bug 1990529
Opened 1 year ago
Closed 1 year ago
storage.sync returns sanitized "An unexpected error occurred" error without logging the original error
Categories
(WebExtensions :: Storage, task, P3)
WebExtensions
Storage
Tracking
(firefox145 fixed)
RESOLVED
FIXED
145 Branch
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: robwu, Assigned: robwu)
References
Details
(Whiteboard: [addons-jira])
Attachments
(1 external file)
While looking into bug 1989840, I noticed that on older Firefoxes a generic error was reported without the actual error being dumped to the console. This makes debugging difficult, and to see the actual error I had to put a breakpoint at https://searchfox.org/firefox-main/rev/6cd61ea1ff39887da8f4dc1080a96c01f0c70ef8/toolkit/components/extensions/ExtensionStorageSync.sys.mjs#78
With the fix at bug 1990313 (so Firefox no longer crashes), I expect the same issue (generic error being reported without more diagnostics) to happen.
Let's add some more logging.
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Severity: -- → N/A
Priority: -- → P3
Pushed by rob@robwu.nl:
https://github.com/mozilla-firefox/firefox/commit/13aa8ab1d77f
https://hg.mozilla.org/integration/autoland/rev/46deed4f9bb8
Log unsanitized error on internal storage.sync r=rpl
Comment 3•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox145:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•