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.
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user