add logging
Some checks failed
Build and Test / friends (push) Successful in 4m42s
Build and Test / wii-u-chat (push) Successful in 4m48s
Build and Test / splatoon (push) Successful in 4m50s
Build and Test / super-mario-maker (push) Has been cancelled

This commit is contained in:
Maple Nebel 2026-04-28 23:44:43 +02:00
commit e06ea4c0cb

View file

@ -54,6 +54,7 @@ use std::sync::{Arc, Weak};
use tokio::sync::{Mutex, RwLock};
use crate::rmc::structures::Error;
use crate::rmc::structures::matchmake::MatchmakeSessionSearchCriteria;
cfg_if! {
if #[cfg(feature = "datastore")] {
@ -514,7 +515,7 @@ impl MatchmakeExtension for User {
async fn auto_matchmake_with_search_criteria_postpone(
&self,
criteria: Vec<crate::rmc::structures::matchmake::MatchmakeSessionSearchCriteria>,
criteria: Vec<MatchmakeSessionSearchCriteria>,
gathering: Any,
join_message: String,
) -> Result<Any, ErrorCode> {
@ -524,6 +525,8 @@ impl MatchmakeExtension for User {
.flatten()
.ok_or(ErrorCode::Core_InvalidArgument)?;
println!("{:?}", criteria);
let session = self
.auto_matchmake_with_param_postpone(AutoMatchmakeParam {
matchmake_session: session,