Skip to content

Commit

Permalink
WIP Panic in case of a certain send actor message failure
Browse files Browse the repository at this point in the history
  • Loading branch information
orblivion authored and TylerBloom committed Dec 21, 2023
1 parent f2f291e commit 68534b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squire_sdk/src/server/tournaments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@ async fn handle_new_onlooker<S: ServerState>(state: S, id: TournamentId, mut ws:
};
let user = state.watch_session(session).await.unwrap();
if !state.handle_new_onlooker(id, user, ws).await {
panic!("TODO what if this fails")
panic!("Failed to handle new onlooker")
}
}

0 comments on commit 68534b5

Please sign in to comment.