From d6737d025cc4c46f3bccba8925261b75ea39c0df Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Fri, 2 Jul 2021 17:23:09 +0200
Subject: [PATCH] L2SS-295: Remove a forced raised Exception for debugging!

---
 devices/clients/opcua_client.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/devices/clients/opcua_client.py b/devices/clients/opcua_client.py
index ac66f4706..dc85a6f4f 100644
--- a/devices/clients/opcua_client.py
+++ b/devices/clients/opcua_client.py
@@ -227,7 +227,6 @@ class ProtocolAttribute:
 
         try:
             self.node.set_data_value(opcua.ua.uatypes.Variant(value=value, varianttype=self.ua_type))
-            raise TypeError
         except (TypeError, opcua.ua.uaerrors.BadTypeMismatch) as e:
             # A type conversion went wrong or there is a type mismatch.
             #
-- 
GitLab