diff --git a/devices/clients/opcua_connection.py b/devices/clients/opcua_connection.py index 1d1b1004c2a193d07542c6cdf8237da94ea9352b..8c6de0fcd89b8341bdddbf3019ad0a7531db1b19 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