forked from indymedia/epicyon
Simplify
parent
26c74f91cb
commit
f9067de19f
|
@ -8881,7 +8881,7 @@ class EpicyonServer(ThreadingHTTPServer):
|
|||
def handle_error(self, request, client_address):
|
||||
# surpress connection reset errors
|
||||
cls, e = sys.exc_info()[:2]
|
||||
if cls is socket.error or cls is ConnectionResetError:
|
||||
if cls is ConnectionResetError:
|
||||
print('ERROR: ' + str(cls) + ", " + str(e))
|
||||
pass
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue