[PyQt] catching exceptions and PyQt

inhahe inhahe at gmail.com
Wed Sep 17 14:30:20 BST 2008


I would like to capture any error that happen in an app using PyQt
I tried this:

while 1:
  try:
    app.processEvents()
  except:
    do stuff here with sys.exc_info()

but it doesn't quite work, i guess because of PyQt handling events in
other threads.   so my question is.. how do I capture all exceptions?
thx.


More information about the PyQt mailing list