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 tokio::sync::{Mutex, RwLock};
|
||||||
|
|
||||||
use crate::rmc::structures::Error;
|
use crate::rmc::structures::Error;
|
||||||
|
use crate::rmc::structures::matchmake::MatchmakeSessionSearchCriteria;
|
||||||
|
|
||||||
cfg_if! {
|
cfg_if! {
|
||||||
if #[cfg(feature = "datastore")] {
|
if #[cfg(feature = "datastore")] {
|
||||||
|
|
@ -514,7 +515,7 @@ impl MatchmakeExtension for User {
|
||||||
|
|
||||||
async fn auto_matchmake_with_search_criteria_postpone(
|
async fn auto_matchmake_with_search_criteria_postpone(
|
||||||
&self,
|
&self,
|
||||||
criteria: Vec<crate::rmc::structures::matchmake::MatchmakeSessionSearchCriteria>,
|
criteria: Vec<MatchmakeSessionSearchCriteria>,
|
||||||
gathering: Any,
|
gathering: Any,
|
||||||
join_message: String,
|
join_message: String,
|
||||||
) -> Result<Any, ErrorCode> {
|
) -> Result<Any, ErrorCode> {
|
||||||
|
|
@ -524,6 +525,8 @@ impl MatchmakeExtension for User {
|
||||||
.flatten()
|
.flatten()
|
||||||
.ok_or(ErrorCode::Core_InvalidArgument)?;
|
.ok_or(ErrorCode::Core_InvalidArgument)?;
|
||||||
|
|
||||||
|
println!("{:?}", criteria);
|
||||||
|
|
||||||
let session = self
|
let session = self
|
||||||
.auto_matchmake_with_param_postpone(AutoMatchmakeParam {
|
.auto_matchmake_with_param_postpone(AutoMatchmakeParam {
|
||||||
matchmake_session: session,
|
matchmake_session: session,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue