scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 3d54a104ae97a3218bf58eb38f28c03e26ba7e43
Author:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
AuthorDate: Wed Mar 27 09:54:39 2019 +0100
Commit:     Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
CommitDate: Wed Mar 27 12:45:19 2019 +0100

    Beanshell: Display full exception message
    
    Useful to see where exactly the error occured
    
    Change-Id: I716f54c4b1286d705b52f19a58f36f28a801e1d0
    Reviewed-on: https://gerrit.libreoffice.org/69799
    Reviewed-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>
    Tested-by: Samuel Mehrbrodt <samuel.mehrbr...@cib.de>

diff --git 
a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
 
b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
index 91bd98894798..279e75fb3584 100644
--- 
a/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
+++ 
b/scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java
@@ -398,7 +398,7 @@ public class ScriptEditorForBeanShell implements 
ScriptEditor, ActionListener {
             try {
                 execute();
             } catch (Exception invokeException) {
-                showErrorMessage(invokeException.getMessage());
+                showErrorMessage(invokeException.toString());
             }
         } else if (actionCommand.equals("Save")) {
             saveTextArea();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to