From f65fae9cce18da809c3e70df6800ef3c9aa76a42 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 7 Jul 2021 21:09:30 +0200
Subject: [PATCH] L2SS-309: Remove forced raise TypeError that was in for debug
 reasons (didnt i already remove this elsewhere?

---
 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