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 f6871e4a5e84ab0cff46460e5e58a3338ebce69c..dcc5544e8ffa9f0a68d5ea4c5f13abc520ecb21a 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.log(WebInspector.UIString("An error happened when a call for method '%s' was requested", data.errorMethodName)); |
- WebInspector.console.log(data["errorCallStack"]); |
+ WebInspector.messageSink.addMessage(WebInspector.UIString("An error occurred when a call to method '%s' was requested", data.errorMethodName)); |
+ WebInspector.messageSink.addMessage(data["errorCallStack"]); |
delete this._callbacks[data.callId]; |
return; |
} |