(self, request, client_address)
Handle an error gracefully.  May be overridden.

        The default is to print a traceback and continue.
Handle an error gracefully.  May be overridden.
Handle an error gracefully . May be overridden .
def handle_error(self, request, client_address):
        """Handle an error gracefully.  May be overridden.

        The default is to print a traceback and continue.

        """
        print '-'*40
        print 'Exception happened during processing of request from',
        print client_address
        import traceback
        traceback.print_exc() # XXX But this goes to stderr!
        print '-'*40
def handle_error ( self , request , client_address ) : print '-' * 40 print 'Exception happened during processing of request from' , print client_address import traceback traceback . print_exc ( ) # XXX But this goes to stderr! print '-' * 40