add logging
This commit is contained in:
parent
9d3a25fd95
commit
e06ea4c0cb
1 changed files with 4 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue