few updates

This commit is contained in:
2025-03-17 16:07:08 +01:00
parent 73653723ea
commit bd6eda5f19
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -63,6 +63,8 @@ impl Session {
local_player, local_player,
}; };
// Capture the player
match player::player(&session, uuid) { match player::player(&session, uuid) {
Ok(player) => Ok((session, player)), Ok(player) => Ok((session, player)),
Err(crate::response::Error::DatabaseError) => { Err(crate::response::Error::DatabaseError) => {
+2
View File
@@ -56,3 +56,5 @@ impl From<mongodb::error::Error> for Error {
Error::DatabaseError Error::DatabaseError
} }
} }
impl std::error::Error for Error {}