Ticket #1493: django.basehttp.patch
File django.basehttp.patch, 877 bytes (added by , 19 years ago) |
---|
-
django/core/servers/basehttp.py
456 456 """Log the 'exc_info' tuple in the server log 457 457 458 458 Subclasses may override to retarget the output or change its format. 459 """ 459 """ 460 460 try: 461 try: 462 if exc_info[1][0] == 10053: 463 # ignore aborted connections 464 return 465 except TypeError: 466 pass 461 467 from traceback import print_exception 462 stderr = self.get_stderr() 468 stderr = self.get_stderr() 463 469 print_exception( 464 470 exc_info[0], exc_info[1], exc_info[2], 465 471 self.traceback_limit, stderr