From 60aa576a93cc630dace17a1116d693175a639bb2 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 13 Jul 2023 14:34:45 +0300 Subject: [PATCH] Skip all not found entries. --- moonstreamapi/moonstreamapi/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/moonstreamapi/moonstreamapi/actions.py b/moonstreamapi/moonstreamapi/actions.py index 93be86ae..a570884f 100644 --- a/moonstreamapi/moonstreamapi/actions.py +++ b/moonstreamapi/moonstreamapi/actions.py @@ -864,6 +864,9 @@ def subscriptions_to_moonworm_jobs( ### filter tasks by abi_name_tags + if subscription.subscription_type_id not in moonworm_tasks_normilized: + continue + filtered_tasks = filter_tasks( moonworm_tasks_normilized[subscription.subscription_type_id][ subscription.address