Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 1327

Show
Ignore:
Timestamp:
09/03/06 16:47:18
Author:
fumanchu
Message:

Removed double traceback from fallback error handler (as it doesn't apply anymore).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/_cprequest.py

    r1325 r1327  
    468468                # Failure in setup, error handler or finalize. Bypass them. 
    469469                if self.show_tracebacks: 
    470                     exc = sys.exc_info() 
    471                     try: 
    472                         dbltrace = ("\n===First Error===\n\n%s" 
    473                                     "\n\n===Second Error===\n\n%s\n\n") 
    474                         body = dbltrace % (format_exc(exc), format_exc()) 
    475                     finally: 
    476                         del exc 
     470                    body = format_exc() 
    477471                else: 
    478472                    body = "" 

Hosted by WebFaction

Log in as guest/cpguest to create tickets