fix some typos and other

This commit is contained in:
Bastian Schroll 2018-01-11 13:01:27 +01:00
parent 0c7fc84089
commit 6e011301d4
4 changed files with 16 additions and 8 deletions

View file

@ -82,6 +82,9 @@ class TCPClient:
except AttributeError:
logging.error("cannot transmit - no connection established")
return False
except ConnectionResetError:
logging.error("cannot transmit - host closed connection")
return False
except: # pragma: no cover
logging.exception("error while transmitting")
return False