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

Changeset 1831

Show
Ignore:
Timestamp:
11/13/07 20:58:00
Author:
fumanchu
Message:

Bus touchups.

Files:

Legend:

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

    r1830 r1831  
    170170            raise 
    171171        except: 
    172             start_trace =  _traceback.format_exc() 
     172            self.log("Shutting down due to error in start listener:\n%s" % 
     173                     _traceback.format_exc()) 
    173174            e_info = sys.exc_info() 
    174175            try: 
     
    177178                # Any stop/exit errors will be logged inside publish(). 
    178179                pass 
    179             self.log("Exception that caused shutdown: %s" % start_trace) 
    180180            raise e_info[0], e_info[1], e_info[2] 
    181181     
     
    185185         
    186186        self.state = states.EXITING 
    187         self.log('Bus exit') 
     187        self.log('Bus EXITING') 
    188188        self.publish('exit') 
    189189     

Hosted by WebFaction

Log in as guest/cpguest to create tickets