diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-16 10:32:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-16 13:04:52 +0200 |
commit | 700c8ec9782c3d81fef0e42146af6b69ecd84e2a (patch) | |
tree | 085e672d96fe58752d546cee9f4aee1f96205e0f /scripting | |
parent | 61a60e545e774c768b0783218520c819ea6de631 (diff) |
AttributeError on getMessage
Change-Id: If0bd315fe605b850ec397eb2267b08ad8039355c
Reviewed-on: https://gerrit.libreoffice.org/77565
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/pyprov/pythonscript.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py index d8924f8dba8c..67251e6ada61 100644 --- a/scripting/source/pyprov/pythonscript.py +++ b/scripting/source/pyprov/pythonscript.py @@ -259,7 +259,7 @@ class MyUriHelper: return ret except UnoException as e: log.error( "error during converting scriptURI="+scriptURI + ": " + e.Message) - raise RuntimeException( "pythonscript:scriptURI2StorageUri: " +e.getMessage(), None ) + raise RuntimeException( "pythonscript:scriptURI2StorageUri: " + e.Message, None ) except Exception as e: log.error( "error during converting scriptURI="+scriptURI + ": " + str(e)) raise RuntimeException( "pythonscript:scriptURI2StorageUri: " + str(e), None ) |