SIENTIAPDE-1110

Update OPC activity to utilize custom logger in write_data method, improving error handling and traceability.
This commit is contained in:
vitor-aignosi
2025-06-27 12:27:40 -03:00
parent 566818b308
commit fd9d933931

View File

@@ -57,7 +57,7 @@ class OPC(BaseActivity):
try:
return self.opc_repository[server_id].write_data(
tag, data, data_type, self, metadata)
tag, data, data_type, self.logger, metadata)
except Exception as e:
trace = traceback.format_exc()
self.notification_handler.build_and_send_notification(