Pastebin
Paste #539: handle_error
< previous paste - next paste>
Pasted by tdn
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
Go to most recent paste.