[PyQt] Slot error handling
zac256 at gmail.com
Wed Oct 7 19:49:02 BST 2009
Is there a way to add an error handler for all slots in an application?
Eg: I have a window with lots of buttons and menus etc, connected via
Signals/Slots. When slot code fails it prints a traceback to the
console. I would rather it pop a dialog because the console is hidden.
So, I would like to somewhere in my app say if any slot fails call
this function with the exception, slot, signal, and whatever other
info can be provided.
Aim - Zac256FL
Production Engineer (Digital Overlord)
More information about the PyQt