mirror of https://gitlab.com/bashrc2/epicyon
Debug message for broken pipe
parent
fff61b9812
commit
7c0b0fb195
|
@ -821,6 +821,8 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.wfile.write(msg)
|
||||
return True
|
||||
except BrokenPipeError as e:
|
||||
if self.server.debug:
|
||||
print('ERROR: _write error ' + str(tries) + ' ' + str(e))
|
||||
break
|
||||
except Exception as e:
|
||||
print('ERROR: _write error ' + str(tries) + ' ' + str(e))
|
||||
|
|
Loading…
Reference in New Issue