core: silence group errors to reduce load on UI event log (#2735)

This commit is contained in:
spaced4ndy
2023-07-20 16:15:57 +04:00
committed by GitHub
parent ca5b3ddc0d
commit d63c7d2abc

View File

@@ -3112,7 +3112,8 @@ processAgentMessageConn user@User {userId} corrId agentConnId agentMessage = do
withCompletedCommand conn agentMsg $ \CommandData {cmdFunction, cmdId} ->
when (cmdFunction == CFAckMessage) $ ackMsgDeliveryEvent conn cmdId
MERR _ err -> do
toView $ CRChatError (Just user) (ChatErrorAgent err $ Just connEntity)
-- group errors are silenced to reduce load on UI event log
-- toView $ CRChatError (Just user) (ChatErrorAgent err $ Just connEntity)
incAuthErrCounter connEntity conn err
ERR err -> do
toView $ CRChatError (Just user) (ChatErrorAgent err $ Just connEntity)