Indicate the orifin of the error

This commit is contained in:
bashrc committed 2021-05-20 12:41:34 +01:00
1 parent 0c5b44be09
commit cfbd7f86eb
1 file changed
+1 -1
+1 -1
View File
@@ -14769,7 +14769,7 @@ class EpicyonServer(ThreadingHTTPServer):
# surpress connection reset errors
cls, e = sys.exc_info()[:2]
if cls is ConnectionResetError:
print('ERROR: ' + str(cls) + ", " + str(e))
print('ERROR: (EpicyonServer) ' + str(cls) + ", " + str(e))
pass
else:
return HTTPServer.handle_error(self, request, client_address)