diff --git a/daemon.py b/daemon.py index e177ca23a..b530f9901 100644 --- a/daemon.py +++ b/daemon.py @@ -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))