Closed
Bug 510152
Opened 15 years ago
Closed 15 years ago
Check for failure onStopRequest and throw the error for extra debugging
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
0.6
People
(Reporter: Mardak, Assigned: Mardak)
Details
Right now the third arg to onStopRequest is ignored (and is labeled "time") for some reason, but it's actually the nsresult code. It could be failure, and because we ignore it now, the code after chanOpen to do channel.requestSucceeded usually throws ns_not_initialized or something. So if we throw the error, we can figure out what the real failure is.
Assignee | ||
Comment 1•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/a807b167f776 Wrap the error code with a JS Error to track the stack, and re-wrap it to get the full stack trace. Also, remove args for __request for the stack because it's sometimes the whole record..
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.6
Updated•6 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•