SIENTIAPDE-1110
Update OPC activity to utilize custom logger in write_data method, improving error handling and traceability.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user