debug logging
This commit is contained in:
parent
cbd175229e
commit
6a70df89ed
3 changed files with 4 additions and 1 deletions
|
|
@ -34,6 +34,7 @@ aws-config = { version = "1.8.15", optional = true }
|
||||||
base64 = "0.22.1"
|
base64 = "0.22.1"
|
||||||
sha2 = "0.10.9"
|
sha2 = "0.10.9"
|
||||||
urlencoding = "2.1.3"
|
urlencoding = "2.1.3"
|
||||||
|
futures = "0.3.32"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
# criterion = "0.7.0"
|
# criterion = "0.7.0"
|
||||||
|
|
|
||||||
|
|
@ -412,6 +412,7 @@ impl MatchmakeExtension for User {
|
||||||
gathering: Any,
|
gathering: Any,
|
||||||
message: String,
|
message: String,
|
||||||
) -> Result<(u32, Vec<u8>), ErrorCode> {
|
) -> Result<(u32, Vec<u8>), ErrorCode> {
|
||||||
|
info!("gathering: {:?}", gathering);
|
||||||
let Some(Ok(session)): Option<Result<MatchmakeSession, _>> = gathering.try_get() else {
|
let Some(Ok(session)): Option<Result<MatchmakeSession, _>> = gathering.try_get() else {
|
||||||
return Err(ErrorCode::Core_InvalidArgument);
|
return Err(ErrorCode::Core_InvalidArgument);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
pub mod account_management;
|
pub mod account_management;
|
||||||
pub mod auth;
|
pub mod auth;
|
||||||
|
pub mod datastore;
|
||||||
pub mod friends;
|
pub mod friends;
|
||||||
pub mod matchmake;
|
pub mod matchmake;
|
||||||
pub mod matchmake_ext;
|
pub mod matchmake_ext;
|
||||||
|
|
@ -11,7 +12,6 @@ pub mod nintendo_notification;
|
||||||
pub mod notifications;
|
pub mod notifications;
|
||||||
pub mod ranking;
|
pub mod ranking;
|
||||||
pub mod secure;
|
pub mod secure;
|
||||||
pub mod datastore;
|
|
||||||
|
|
||||||
use crate::result::ResultExtension;
|
use crate::result::ResultExtension;
|
||||||
use crate::rmc::message::RMCMessage;
|
use crate::rmc::message::RMCMessage;
|
||||||
|
|
@ -20,6 +20,7 @@ use crate::rmc::response::{ErrorCode, RMCResponse, RMCResponseResult};
|
||||||
use crate::rmc::structures;
|
use crate::rmc::structures;
|
||||||
use crate::rmc::structures::RmcSerialize;
|
use crate::rmc::structures::RmcSerialize;
|
||||||
use crate::util::{SendingBufferConnection, SplittableBufferConnection};
|
use crate::util::{SendingBufferConnection, SplittableBufferConnection};
|
||||||
|
use futures::FutureExt;
|
||||||
use log::{error, info};
|
use log::{error, info};
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
use std::future::Future;
|
use std::future::Future;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue