Fix missing logs of fixRunningDeliveries

This commit is contained in:
fr33domlover 2019-10-18 23:51:55 +00:00
parent d5063eaef9
commit 9f063fb349

View file

@ -350,13 +350,13 @@ fixRunningDeliveries = do
c' <- updateWhereCount [DeliveryRunning ==. True] [DeliveryRunning =. False]
unless (c' == 0) $ logWarn $ T.concat
[ "fixRunningDeliveries fixed "
, T.pack (show c)
, T.pack (show c')
, " unlinked deliveries"
]
c'' <- updateWhereCount [ForwardingRunning ==. True] [ForwardingRunning =. False]
unless (c' == 0) $ logWarn $ T.concat
unless (c'' == 0) $ logWarn $ T.concat
[ "fixRunningDeliveries fixed "
, T.pack (show c)
, T.pack (show c'')
, " forwarding deliveries"
]