add some debug logs

This commit is contained in:
clowwindy 2014-09-12 00:53:12 +08:00
parent 327c70e353
commit a6b8a5eef9

View file

@ -207,6 +207,7 @@ class EventLoop(object):
except (OSError, IOError) as e:
if errno_from_exception(e) in (errno.EPIPE, errno.EINTR):
# Happens when the client closes the connection
logging.debug('poll:%s', e)
continue
else:
logging.error('poll:%s', e)