Fix crash on logout (why did that line vanish?!?)

This commit is contained in:
Nicolas Werner 2022-06-12 19:39:36 +02:00
parent 62b3b461ec
commit f3ff56692e
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 0 deletions

View File

@ -616,6 +616,7 @@ ChatPage::handleSyncResponse(const mtx::responses::Sync &res, const std::string
} }
} catch (const lmdb::error &e) { } catch (const lmdb::error &e) {
nhlog::db()->warn("Logged out in the mean time, dropping sync"); nhlog::db()->warn("Logged out in the mean time, dropping sync");
return;
} }
nhlog::net()->debug("sync completed: {}", res.next_batch); nhlog::net()->debug("sync completed: {}", res.next_batch);