diff --git a/RCUSCC/RCUSCC/RCUSCC.py b/RCUSCC/RCUSCC/RCUSCC.py index 7465c956d256a08f4c0448e4667f7e39cd186243..cee1c437ebf500da0b8b3b93e974ff020e9b8bd4 100644 --- a/RCUSCC/RCUSCC/RCUSCC.py +++ b/RCUSCC/RCUSCC/RCUSCC.py @@ -252,17 +252,10 @@ class RCUSCC(Device): try: return self.pcc_node.get_child(["{}:{}".format(self.name_space_index, node)]) except opcua.ua.uaerrors._auto.BadNoMatch: - self.error_stream("Could not find PCC node %s, using a dummy", node) - - class DummyNode: - def get_value(self): - pass - - def set_value(self, val): - pass - - return DummyNode() + self.error_stream("Could not find PCC node %s", node) + # Contract with hardware is broken --- cannot recover + raise def _map_attributes(self): try: