[PyQt] catching exceptions and PyQt

Daniel Eichler kugelfischtempura at googlemail.com
Fri Sep 19 14:46:23 BST 2008


2008/9/18 Wim Verhavert <wim.verhavert at gmail.com>

I'm not an expert on this but I have done something like this in the past:
>
> def excepthook(excType, excValue, tracebackobj):
>    # do here the things you want when an uncaught exception occurs
>    pass
>

Unfortunaly, this does'nt catch the original-exception. Is there way to get
around the PyQt-Standarderror and access the real exception?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080919/981d21e2/attachment.html


More information about the PyQt mailing list