Refactor error handling in Gates and OPC activities; update OPC_NAME to OPC_ID in values.yaml

This commit is contained in:
vitor-aignosi
2025-06-11 17:55:27 -03:00
parent d57ecc3041
commit fc1cd056af
3 changed files with 7 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ class OPC(BaseActivity):
level=NotificationLevel.ERROR,
attachment_content=trace
)
self.logger.error(trace)
raise e
@activity.defn(name='write_opc_data')
async def write_opc_data(self, input_data: dict[str, Any]):