diff --git a/.vscode/settings.json b/.vscode/settings.json index 908e9e4..c393de3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,5 @@ { "rust-analyzer.cargo.features": [ - "friends" + "v3-8-15", "splatoon", "prudpv1" ] } \ No newline at end of file diff --git a/rnex-core/src/nex/user.rs b/rnex-core/src/nex/user.rs index 974c869..51e77a5 100644 --- a/rnex-core/src/nex/user.rs +++ b/rnex-core/src/nex/user.rs @@ -37,7 +37,7 @@ use std::env; use std::str::FromStr; use cfg_if::cfg_if; -use log::{error, info}; +use log::{error, info, warn}; use macros::rmc_struct; use rnex_core::prudp::socket_addr::PRUDPSockAddr; use rnex_core::rmc::protocols::notifications::{NotificationEvent, RemoteNotification}; @@ -134,6 +134,8 @@ impl Secure for User { async fn replace_url(&self, target_url: StationUrl, dest: StationUrl) -> Result<(), ErrorCode> { let mut lock = self.station_url.write().await; + info!("target URL: {:?}", target_url); + info!("dest URL: {:?}", dest); let Some(target_addr) = target_url.options.iter().find(|v| matches!(v, Address(_))) else { return Err(ErrorCode::Core_InvalidArgument);