diff options
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/libreoffice/connection.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/uitest/libreoffice/connection.py b/uitest/libreoffice/connection.py index 68330b47d6cf..2b0e9c227479 100644 --- a/uitest/libreoffice/connection.py +++ b/uitest/libreoffice/connection.py @@ -7,6 +7,7 @@ import subprocess import time +import traceback import uuid import os @@ -126,10 +127,10 @@ class OfficeConnection: xDesktop.terminate() print("...done") except pyuno.getClass("com.sun.star.beans.UnknownPropertyException"): - print("caught UnknownPropertyException while TearDown") + print("caught while TearDown:\n", traceback.format_exc()) pass # ignore, also means disposed except pyuno.getClass("com.sun.star.lang.DisposedException"): - print("caught DisposedException while TearDown") + print("caught while TearDown:\n", traceback.format_exc()) pass # ignore else: self.soffice.terminate() |