mirror of https://gitlab.com/bashrc2/epicyon
Indicate the orifin of the error
parent
0c5b44be09
commit
cfbd7f86eb
|
@ -14769,7 +14769,7 @@ class EpicyonServer(ThreadingHTTPServer):
|
||||||
# surpress connection reset errors
|
# surpress connection reset errors
|
||||||
cls, e = sys.exc_info()[:2]
|
cls, e = sys.exc_info()[:2]
|
||||||
if cls is ConnectionResetError:
|
if cls is ConnectionResetError:
|
||||||
print('ERROR: ' + str(cls) + ", " + str(e))
|
print('ERROR: (EpicyonServer) ' + str(cls) + ", " + str(e))
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
return HTTPServer.handle_error(self, request, client_address)
|
return HTTPServer.handle_error(self, request, client_address)
|
||||||
|
|
Loading…
Reference in New Issue