From 3e9a87a71f937fa039f349857bccf977be932a95 Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 7 Apr 2021 12:56:45 +0200 Subject: [PATCH] Fixed error message, was missing a parameter --- devices/clients/opcua_connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devices/clients/opcua_connection.py b/devices/clients/opcua_connection.py index 1d1b1004c..8c6de0fcd 100644 --- a/devices/clients/opcua_connection.py +++ b/devices/clients/opcua_connection.py @@ -76,8 +76,7 @@ class OPCUAConnection(CommClient): self.streams.debug_stream("Connected to %s. Initialising.", self._servername()) return True except socket.error as e: - #TODO - self.streams.error_stream("Could not connect to server %s: %s", self._servername()) + self.streams.error_stream("Could not connect to server %s: %s", self._servername(), e) raise Exception("") from e -- GitLab