Index: third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
index dda13ee42162336a7edf2d9863ec6e93fc8b7a27..81f055c051b6fd5e90a6d9ae3f8e8f551cc4ff95 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js |
@@ -377,7 +377,7 @@ WebInspector.RuntimeDispatcher.prototype = { |
details.lineNumber, |
details.columnNumber, |
undefined, |
- exception ? ["Uncaught (in promise)", exception] : undefined, |
+ exception ? [WebInspector.RemoteObject.fromLocalObject(details.text), exception] : undefined, |
details.stackTrace, |
timestamp, |
executionContextId, |