Skip to content
Snippets Groups Projects
Commit 38e723b1 authored by Tianqi Chen's avatar Tianqi Chen Committed by GitHub
Browse files

[RPC] Fix tracker fault handling (#1109)

parent cdee6a79
No related branches found
No related tags found
No related merge requests found
......@@ -206,7 +206,7 @@ class TCPEventHandler(tornado_util.TCPHandler):
return False
try:
self.ret_value([TrackerCode.SUCCESS, value])
except (socket.sock_error, IOError):
except (socket.error, IOError):
return False
return True
self._tracker.request(key, user, priority, _cb)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment