Closed Bug 986689 Opened 11 years ago Closed 11 years ago

Exceptions thrown in bootstrap scripts are no longer logged in the error console

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 966674

People

(Reporter: mossop, Unassigned)

References

Details

(Keywords: dogfood, regression)

I'm guessing that this broke with bug 661982 landing. We get a log message saying that an exception was thrown but not what it was. Not very helpful for add-on debugging.
Hi Dave, Re. bug 661982 patch -- the patch doesn't attempt to parse out the stack details of Exceptions itself, instead it's calling Log.jsm and letting Log.jsm take care of that. If improvements to Exception stack outputting are needed, my guess is that work would be needed in Log.jsm itself, I'm assuming to make it work more along the lines of the getStackDetails function in AddonLogging.jsm (line 43 in current release)? Thanks, Emma
I've been working on this in bug 966674. It's been dragged out a bit by scope creep, I have it mostly done in a WIP patch and I'm planning to finish it up next week.
Depends on: 966674
This makes working on the add-on manager code a real pain
Keywords: dogfood, regression
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.