https://bugs.freedesktop.org/show_bug.cgi?id=66025

--- Comment #31 from Stephan Bergmann <[email protected]> ---
(In reply to comment #30)
> I wonder if it might be better to prefer re-raising the original python
> import error if present if the default uno processing fails.  The uno
> failure exception is pretty generic anyway, so the original Python exception
> should work about as well, while in the non-uno case, the original Python
> exception (and more critically, traceback) is far superior to the current
> uno exception.

Sounds reasonable to me, feel free to provide a patch.  (Note that an original
python ImportError will always be present for re-raising in the two places that
currently raise a fresh ImportError in _uno_import.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to