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)
|
self.wfile.write(msg)
|
||||||
return True
|
return True
|
||||||
except BrokenPipeError as e:
|
except BrokenPipeError as e:
|
||||||
|
if self.server.debug:
|
||||||
|
print('ERROR: _write error ' + str(tries) + ' ' + str(e))
|
||||||
break
|
break
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print('ERROR: _write error ' + str(tries) + ' ' + str(e))
|
print('ERROR: _write error ' + str(tries) + ' ' + str(e))
|
||||||
|
|
Loading…
Reference in New Issue