Pastebin

Paste #539: handle_error

< previous paste - next paste>

Pasted by tdn

Download View as text

    def handle_error(self, request, client_address):
        """Handle errors gracefully.
        
        """
        print 'Exception happened during processing of request from %s' % client_address
        print 'Request was: %s' % request

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.