few updates
This commit is contained in:
@@ -63,6 +63,8 @@ impl Session {
|
||||
local_player,
|
||||
};
|
||||
|
||||
|
||||
// Capture the player
|
||||
match player::player(&session, uuid) {
|
||||
Ok(player) => Ok((session, player)),
|
||||
Err(crate::response::Error::DatabaseError) => {
|
||||
|
||||
@@ -56,3 +56,5 @@ impl From<mongodb::error::Error> for Error {
|
||||
Error::DatabaseError
|
||||
}
|
||||
}
|
||||
|
||||
impl std::error::Error for Error {}
|
||||
|
||||
Reference in New Issue
Block a user