From a421e40e4c357a06d25b4cad8d82a7aefb4c5649 Mon Sep 17 00:00:00 2001 From: ThePsyjo Date: Fri, 17 Sep 2021 12:04:33 +0200 Subject: [PATCH] fix typo in timeout error message missing space before timeout value --- pyzabbix/sender.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyzabbix/sender.py b/pyzabbix/sender.py index 250c3ab..47278a2 100644 --- a/pyzabbix/sender.py +++ b/pyzabbix/sender.py @@ -409,7 +409,7 @@ def _chunk_send(self, metrics): connection.sendall(packet) except socket.timeout: logger.error('Sending failed: Connection to %s timed out after' - '%d seconds', host_addr, self.timeout) + ' %d seconds', host_addr, self.timeout) connection.close() raise socket.timeout except socket.error as err: