diff options
author | David Bolen <db3l.net@gmail.com> | 2013-07-29 12:44:26 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-29 12:49:02 +0200 |
commit | acc7484b0fd1d5df2a709399bcdf03ec81943e71 (patch) | |
tree | 67dc19b25fed2c538fea3d2db9909a9a258bd4fa /pyuno/source/module/pyuno_impl.hxx | |
parent | b9b452a570bea90f27082e5b70aedf9b8f9d421e (diff) |
fdo#66025: Improve accuracy of ImportError traceback and message
The ImportError raised on an import failure with the uno module loaded
now includes a complete traceback and the original Python exception
message text, combined with the most relevant (nearest to failure if
imports are nested) uno lookup that also failed.
Cherry-picked from 948b6ea02ea9de7fb4e1e2baf95ecae3ba1cd54e plus previous
patches leading up to that, 7fd81244c21ad54a8b9766902fd7c34e8055b165 "fdo#66025:
Improve ImportError raised from _uno_import,"
329125abb63061214897e4f215d41cfa4b13b4b0 "fdo#66025: Minor clean-up of previous
patch," and fbe28de6fbfdce41544e4e93168d32661add8285 "fdo#66025: Simplify new
ImportError logic."
Change-Id: I8c22f22c2d96bdd7fb99a87273ba574e22a86923
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 52a533cc31f630ad482fe0fde8d925b459c787bf)
Diffstat (limited to 'pyuno/source/module/pyuno_impl.hxx')
0 files changed, 0 insertions, 0 deletions