Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: src/isolate.cc

Issue 11360220: Fix details in message formatting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index eec5a54d737e902caddfcfe5679dcb33656c8dd1..98b3c3acbd662deecea62779f7ad3e4a131d616d 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -1231,7 +1231,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) {
// Stringify custom error objects for the message object.
if (exception_handle->IsJSObject() && !IsErrorObject(exception_handle)) {
bool failed = false;
- exception_handle = Execution::ToString(exception_handle, &failed);
+ exception_handle = Execution::ToDetailString(exception_handle, &failed);
if (failed) {
exception_handle = factory()->LookupAsciiSymbol("exception");
}
« no previous file with comments | « no previous file | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698