Closed Bug 1580001 Opened 5 years ago Closed 5 years ago

The server should log erors

Categories

(DevTools :: Debugger, task, P2)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1581232

People

(Reporter: jlast, Unassigned)

Details

We currently catch exceptions in the server in uncaughtExceptionHook and then conditionally log them if we're in verbose mode.

I think we should switch this so that all errors are logged.

For historical reasons, this decision dates back to the move to m-c. https://searchfox.org/mozilla-central/diff/854933e0fb842877a6665c45fc69386665ddb9e2/toolkit/devtools/debugger/server/dbg-script-actors.js#576

One concern is that we should make sure we don't log to the content toolbox

Priority: -- → P2
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.