I'm currently porting my PyS60 applications from 1.4.5 to 1.9.7/2.0. One of the issues I encountered, is how errors are handled by 1.9.7/2.0.
I used to have a own error handling routine in my PyS60 applications, that writes the return from traceback.format_exception(*sys.exc_info()) to a text file, that the user can send me. That was helpful several times. In 1.9.7/2.0 a 'top level' error handler seems to be implemented in 'launcher.py', which calls the 'default.py'. Errors are trapped by 'launcher.py' and printed to the console.
How can I achieve that errors are handled by my application and thus written to my debug text file?
TIA Martin

Reply With Quote


