diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-20 17:14:24 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-21 01:46:07 +0200 |
commit | fa43b7742227a74c2bfb83c5147ac6eb69e7ef20 (patch) | |
tree | e772958252373703c4cc5c1e3e510533c0bed703 /pyuno/source/module/pyuno_except.cxx | |
parent | 41a68a4f77a639def35d778b86b6aeda8fe60a7b (diff) |
pyuno: make extractUnoException handle exceptions raised by uno.py loading
This allows having a meaningful error message when extractUnoException
is called from pyuno_loader::getLoaderModule() (via
raiseRuntimeExceptionWhenNeeded()). If it is called to treat an error
that cropped up in loading uno.py, the old code would abort the whole
operation by throwing an exception because... it gets essentially the
same error. The new code leads to a sensible message on the Python
debug console.
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
0 files changed, 0 insertions, 0 deletions