From 5477f68b6bd19caca88abca2724644de7855bc16 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Tue, 12 Aug 2025 14:12:52 -0300 Subject: [PATCH] SIENTIAPDE-1184 fix: update notification IDs for error reporting in Formatters class - Changed notification IDs for error reports related to schedule creation, update, and deletion to include the suffix '_ERROR' for better clarity in error handling. --- orchestrator/activities/formatters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/orchestrator/activities/formatters.py b/orchestrator/activities/formatters.py index 04a983d..2e8cf1b 100644 --- a/orchestrator/activities/formatters.py +++ b/orchestrator/activities/formatters.py @@ -391,7 +391,7 @@ class Formatters(BaseActivity): self.send_error_report( metadata=metadata, message=f"Failed to create schedules: \n {', '.join(error_keys)}", - notification_id="REPORT_ORCHESTRATION_CREATED_SCHEDULES", + notification_id="REPORT_ORCHESTRATION_CREATED_SCHEDULES_ERROR", attachment=created_schedules ) @@ -411,7 +411,7 @@ class Formatters(BaseActivity): self.send_error_report( metadata=metadata, message=f"Failed to update schedules: \n {', '.join(error_keys)}", - notification_id="REPORT_ORCHESTRATION_UPDATED_SCHEDULES", + notification_id="REPORT_ORCHESTRATION_UPDATED_SCHEDULES_ERROR", attachment=updated_schedules ) @@ -430,7 +430,7 @@ class Formatters(BaseActivity): self.send_error_report( metadata=metadata, message=f"Failed to delete schedules: \n {', '.join(error_keys)}", - notification_id="REPORT_ORCHESTRATION_DELETED_SCHEDULES", + notification_id="REPORT_ORCHESTRATION_DELETED_SCHEDULES_ERROR", attachment=deleted_schedules )