uitest/libreoffice/connection.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 41d4458310bfd68cf756094ba9484ac071b20db0 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue Jun 9 09:43:45 2020 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Tue Jun 9 11:15:30 2020 +0200 Print more information about the swallowed exceptions Change-Id: I126413f9eb5c5698e4500c4fc5e04f31a9c574fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95895 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits