summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-27 09:54:39 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-27 12:45:19 +0100
commit3d54a104ae97a3218bf58eb38f28c03e26ba7e43 (patch)
treed138fbc4daef4648ecea9341e80cc03ce45f8b89 /scripting
parent3c72945de874aceb12a405c03f5b0c8b3937f5cf (diff)
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@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'scripting')
-rw-r--r--scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java2
1 files changed, 1 insertions, 1 deletions
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();