Bug 960905 - DevToolsUtils.reportException is misused in Tracer.prototype. r=fitzgen

This commit is contained in:
Stefan Alderson
2014-03-03 10:33:58 -05:00
parent 45d4d3c0ef
commit 18ffdf795d

View File

@@ -1418,7 +1418,7 @@ Tracer.prototype = {
], this._trace, (aResponse) => {
const { error } = aResponse;
if (error) {
DevToolsUtils.reportException(error);
DevToolsUtils.reportException("Tracer.prototype.startTracing", error);
this._trace = null;
}
@@ -1436,7 +1436,7 @@ Tracer.prototype = {
this.traceClient.stopTrace(this._trace, aResponse => {
const { error } = aResponse;
if (error) {
DevToolsUtils.reportException(error);
DevToolsUtils.reportException("Tracer.prototype.stopTracing", error);
}
this._trace = null;