diff --git a/utils/notification_service.py b/utils/notification_service.py index d232809a64eead..969107b3f88481 100644 --- a/utils/notification_service.py +++ b/utils/notification_service.py @@ -634,6 +634,9 @@ def get_reply_blocks(self, job_name, job_result, failures, device, text): ] def get_new_model_failure_blocks(self, with_header=True): + if self.prev_ci_artifacts is None: + return {} + sorted_dict = sorted(self.model_results.items(), key=lambda t: t[0]) prev_model_results = {}