Fix a typo in error reporting when attaching to the tracer (bug 989627). r=vporof

This commit is contained in:
Panos Astithas
2014-04-03 16:59:46 +03:00
parent 5c3773e81e
commit 3d6ccc60f1

View File

@@ -365,7 +365,8 @@ let DebuggerController = {
_startTracingTab: function(aTraceActor, aCallback) {
this.client.attachTracer(aTraceActor, (response, traceClient) => {
if (!traceClient) {
DevToolsUtils.reportError(new Error("Failed to attach to tracing actor."));
DevToolsUtils.reportException("DebuggerController._startTracingTab",
new Error("Failed to attach to tracing actor."));
return;
}