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

--HG--
extra : rebase_source : 59547f9b8f21bc4205b358701d1c9aa900049e81
This commit is contained in:
Panos Astithas 2014-04-03 16:59:46 +03:00
parent e76796c56a
commit 129048586d

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;
}