mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-31 05:44:51 +09:00
Fix missing logs of fixRunningDeliveries
This commit is contained in:
parent
d5063eaef9
commit
9f063fb349
1 changed files with 3 additions and 3 deletions
|
@ -350,13 +350,13 @@ fixRunningDeliveries = do
|
||||||
c' <- updateWhereCount [DeliveryRunning ==. True] [DeliveryRunning =. False]
|
c' <- updateWhereCount [DeliveryRunning ==. True] [DeliveryRunning =. False]
|
||||||
unless (c' == 0) $ logWarn $ T.concat
|
unless (c' == 0) $ logWarn $ T.concat
|
||||||
[ "fixRunningDeliveries fixed "
|
[ "fixRunningDeliveries fixed "
|
||||||
, T.pack (show c)
|
, T.pack (show c')
|
||||||
, " unlinked deliveries"
|
, " unlinked deliveries"
|
||||||
]
|
]
|
||||||
c'' <- updateWhereCount [ForwardingRunning ==. True] [ForwardingRunning =. False]
|
c'' <- updateWhereCount [ForwardingRunning ==. True] [ForwardingRunning =. False]
|
||||||
unless (c' == 0) $ logWarn $ T.concat
|
unless (c'' == 0) $ logWarn $ T.concat
|
||||||
[ "fixRunningDeliveries fixed "
|
[ "fixRunningDeliveries fixed "
|
||||||
, T.pack (show c)
|
, T.pack (show c'')
|
||||||
, " forwarding deliveries"
|
, " forwarding deliveries"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue