This commit is contained in:
clowwindy 2014-06-19 09:20:04 +08:00
parent e811bdb891
commit 46d23bf0d4
3 changed files with 16 additions and 5 deletions

View file

@ -199,9 +199,10 @@ class EventLoop(object):
except (OSError, IOError) as e:
if errno_from_exception(e) == errno.EPIPE:
# Happens when the client closes the connection
logging.error('poll:%s', e)
continue
else:
logging.error(e)
logging.error('poll:%s', e)
import traceback
traceback.print_exc()
continue