mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
7fa2f2f72e
* core: organize withAckMessage * mark critical sections * differentiate DB internal error from chat * throw CRITICALs * only CRIT on SEDatabaseError * normalize errors * shift MonadError into ExceptT * simplify * split critical handlers * names, CRITICAL error in withAckMessage, comments * only show critical alerts when database was locked or busy and message failed to process --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>