changeset 876:1a062c8f4734

runners: print the complete exception in coming from Runner.
author shade
date Sun, 29 Jun 2014 23:38:58 +0400
parents cd4a70133368
children 10465dfbb1e9
files jmh-core/src/main/java/org/openjdk/jmh/Main.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core/src/main/java/org/openjdk/jmh/Main.java	Sat Jun 28 13:01:30 2014 +0400
+++ b/jmh-core/src/main/java/org/openjdk/jmh/Main.java	Sun Jun 29 23:38:58 2014 +0400
@@ -24,13 +24,13 @@
  */
 package org.openjdk.jmh;
 
+import org.openjdk.jmh.runner.Defaults;
 import org.openjdk.jmh.runner.NoBenchmarksException;
 import org.openjdk.jmh.runner.Runner;
 import org.openjdk.jmh.runner.RunnerException;
 import org.openjdk.jmh.runner.options.CommandLineOptionException;
 import org.openjdk.jmh.runner.options.CommandLineOptions;
 import org.openjdk.jmh.runner.options.VerboseMode;
-import org.openjdk.jmh.runner.Defaults;
 
 import java.io.IOException;
 
@@ -77,6 +77,7 @@
                 }
             } catch (RunnerException e) {
                 System.err.println("ERROR: " + e.getMessage());
+                e.printStackTrace(System.err);
             }
 
         } catch (CommandLineOptionException e) {