Index: Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
index 63263fcd483908d4b876efac7fe7970457031593..90b6e24b3bd3287a7d45ec016aa9717d085a6ece 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotProxy.js |
@@ -159,8 +159,8 @@ WebInspector.HeapSnapshotWorkerProxy.prototype = { |
} |
if (data.error) { |
if (data.errorMethodName) |
- WebInspector.console.addErrorMessage(WebInspector.UIString("An error occurred when a call to method '%s' was requested", data.errorMethodName)); |
- WebInspector.console.addErrorMessage(data["errorCallStack"]); |
+ WebInspector.console.error(WebInspector.UIString("An error occurred when a call to method '%s' was requested", data.errorMethodName)); |
+ WebInspector.console.error(data["errorCallStack"]); |
delete this._callbacks[data.callId]; |
return; |
} |