mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 18:59:53 +00:00
Indicate the orifin of the error
This commit is contained in:
1 parent
0c5b44be09
commit
cfbd7f86eb
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user