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

View file

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