From 7cb0e5884c5900e1ee494c283b9a640dcd8000d4 Mon Sep 17 00:00:00 2001 From: Phil Freeman Date: Fri, 4 Sep 2020 10:46:19 -0700 Subject: [PATCH] Tidying --- server/src-lib/Hasura/Eventing/EventTrigger.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/src-lib/Hasura/Eventing/EventTrigger.hs b/server/src-lib/Hasura/Eventing/EventTrigger.hs index e92253bfaa3..d2a86aa468a 100644 --- a/server/src-lib/Hasura/Eventing/EventTrigger.hs +++ b/server/src-lib/Hasura/Eventing/EventTrigger.hs @@ -253,8 +253,7 @@ processEventQueue logger logenv httpMgr pool getSchemaCache eeCtx@EventEngineCtx Tracing.runTraceTInContext tracingCtx - let meti = getEventTriggerInfoFromEvent cache e - case meti of + case getEventTriggerInfoFromEvent cache e of Nothing -> do -- This rare error can happen in the following known cases: -- i) schema cache is not up-to-date (due to some bug, say during schema syncing across multiple instances)