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>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user