add some error handling, mostly to quiet warnings

This commit is contained in:
Jonathan Krebs
2024-12-13 14:55:57 +01:00
committed by Mario Voigt
parent e47da95b41
commit 98fcb9c9a6
7 changed files with 32 additions and 19 deletions

View File

@ -198,8 +198,8 @@ impl UserDB {
}
pub fn clear_txn(&self, txn: &mut RwTransaction) -> Result<(), db::Error> {
self.db.clear(txn);
Ok(())
// TODO: why was the result ignored here?
self.db.clear(txn)
}
pub fn get_all(&self) -> Result<HashMap<String, UserData>, db::Error> {