mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-14 19:05:27 +00:00
6b93a940de
Chat errors emitted via the Haskell `eToView` path (e.g. agent errors on stale connections after a peer deletes a chat) were caught by the broad `except Exception` arm in the bot receive loop, producing an ERROR log with a full traceback for routine soft errors. Match the desktop client policy (SimpleXAPI.kt:3332-3340): catch ChatAPIError separately, escalate CRITICAL agent errors to ERROR, log the rest at DEBUG.