diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-03-27 09:54:39 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-03-27 12:45:19 +0100 |
commit | 3d54a104ae97a3218bf58eb38f28c03e26ba7e43 (patch) | |
tree | d138fbc4daef4648ecea9341e80cc03ce45f8b89 /scripting/java | |
parent | 3c72945de874aceb12a405c03f5b0c8b3937f5cf (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/java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/provider/beanshell/ScriptEditorForBeanShell.java | 2 |
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(); |