mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-23 04:35:46 +00:00
core: silence group errors to reduce load on UI event log (#2735)
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user