more log
This commit is contained in:
parent
e811bdb891
commit
46d23bf0d4
3 changed files with 16 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue