changeset 21989:f8732226922c

Include exception message in debug dump
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 16 Jun 2015 17:52:13 -0700
parents 040fcf0fd8c9
children 2a98e51646c2
files jvmci/com.oracle.jvmci.debug/src/com/oracle/jvmci/debug/JVMCIDebugConfig.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jvmci/com.oracle.jvmci.debug/src/com/oracle/jvmci/debug/JVMCIDebugConfig.java	Tue Jun 16 17:52:01 2015 -0700
+++ b/jvmci/com.oracle.jvmci.debug/src/com/oracle/jvmci/debug/JVMCIDebugConfig.java	Tue Jun 16 17:52:13 2015 -0700
@@ -272,7 +272,7 @@
         Debug.log(String.format("Exception occurred in scope: %s", Debug.currentScope()));
         for (Object o : Debug.context()) {
             if (DumpOnError.getValue()) {
-                Debug.dump(o, "Exception");
+                Debug.dump(o, "Exception: " + e.toString());
             } else {
                 Debug.log("Context obj %s", o);
             }