debug logging
All checks were successful
Build and Test / splatoon (push) Successful in 4m57s
Build and Test / wii-u-chat (push) Successful in 4m59s
Build and Test / friends (push) Successful in 5m1s
Build and Test / super-mario-maker (push) Successful in 9m45s

This commit is contained in:
Maple Nebel 2026-04-28 11:44:12 +02:00
commit 6a70df89ed
3 changed files with 4 additions and 1 deletions

View file

@ -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"

View file

@ -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);
}; };

View file

@ -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;