[Libreoffice-commits] core.git: scripting/java
Samuel Mehrbrodt (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 27 11:45:42 UTC 2019
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.Mehrbrodt at cib.de>
AuthorDate: Wed Mar 27 09:54:39 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at 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();
More information about the Libreoffice-commits
mailing list