[Libreoffice-commits] core.git: qadevOOo/runner

Stephan Bergmann sbergman at redhat.com
Thu Jun 8 09:28:05 UTC 2017


 qadevOOo/runner/base/java_fat.java |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

New commits:
commit c1a276e8e7e88f29f50ca0557fe1c0d9aa0f276a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 8 11:27:42 2017 +0200

    Improve error reporting
    
    Change-Id: I28459b157411b4ab5b10a25e017a0a7208e09aed

diff --git a/qadevOOo/runner/base/java_fat.java b/qadevOOo/runner/base/java_fat.java
index 2fa1d05c9722..4ed28f2c3652 100644
--- a/qadevOOo/runner/base/java_fat.java
+++ b/qadevOOo/runner/base/java_fat.java
@@ -186,15 +186,13 @@ public class java_fat implements TestBase {
                         res = executeInterfaceTest(aSubEntry, tEnv, m_aParams);
                     } catch (IllegalArgumentException iae) {
                         System.out.println("Couldn't load class "
-                                + aSubEntry.entryName);
-                        System.out
-                                .println("**** " + iae.getMessage() + " ****");
+                                + aSubEntry.entryName + ":");
+                        iae.printStackTrace(System.out);
                         Summarizer.summarizeDown(aSubEntry, iae.getMessage());
                     } catch (java.lang.NoClassDefFoundError iae) {
                         System.out.println("Couldn't load class "
-                                + aSubEntry.entryName);
-                        System.out
-                                .println("**** " + iae.getMessage() + " ****");
+                                + aSubEntry.entryName + ":");
+                        iae.printStackTrace(System.out);
                         Summarizer.summarizeDown(aSubEntry, iae.getMessage());
                     } catch (java.lang.RuntimeException e) {
                         closeExistingOffice();


More information about the Libreoffice-commits mailing list