From 749880e6b59567855fba00fa600adce0e91d2fd6 Mon Sep 17 00:00:00 2001 From: Raveline Date: Wed, 20 May 2026 09:41:15 +0200 Subject: [PATCH] Unexpected exception should be a logAttention --- consumers/src/Database/PostgreSQL/Consumers/Components.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consumers/src/Database/PostgreSQL/Consumers/Components.hs b/consumers/src/Database/PostgreSQL/Consumers/Components.hs index d8b72c8..bb7d957 100644 --- a/consumers/src/Database/PostgreSQL/Consumers/Components.hs +++ b/consumers/src/Database/PostgreSQL/Consumers/Components.hs @@ -127,7 +127,7 @@ runConsumerWithMaybeIdleSignal cc0 cs mIdleSignal { ccOnException = \ex job -> localData (ccJobLogData cc0 job) $ do let doOnException = do action <- ccOnException cc0 ex job - logInfo "Unexpected exception caught while processing job" $ + logAttention "Unexpected exception caught while processing job" $ object [ "exception" .= show ex , "action" .= show action