General default exception handler
Dale Strickland-Clark
dale at out-think.NOSPAMco.uk
Mon Dec 4 06:48:59 EST 2000
More information about the Python-list mailing list
Mon Dec 4 06:48:59 EST 2000
- Previous message (by thread): General default exception handler
- Next message (by thread): General default exception handler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
We have a substantial set of COM objects in Python that run a Web site. Currently, if an exception is raised, the user gets an unfriendly message in their browser and we may never know about it. I want to log all unhandled exceptions but I'd rather not have to put a try/except block around every entry point - because there are dozens of them. Is there a general way to catch all unhandled exceptions so I can log them and pass back something nice and soothing to the user? I'm planning to use the traceback module to record the exception info. Thanks -- Dale Strickland-Clark Out-Think Ltd Business Technology Consultants
- Previous message (by thread): General default exception handler
- Next message (by thread): General default exception handler
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list