From 1b6fdab0003f51f80f42ac9a865c6c52472ab3d7 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 18 Jun 2025 20:08:35 -0400 Subject: [PATCH] Add warnings in more lobby fail cases For example, if your World server is down and no service accounts were returned. --- src/bin/kawari-lobby.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/kawari-lobby.rs b/src/bin/kawari-lobby.rs index 32c841f..7bdd752 100644 --- a/src/bin/kawari-lobby.rs +++ b/src/bin/kawari-lobby.rs @@ -104,6 +104,8 @@ async fn main() { serde_json::from_str(&body).ok(); if let Some(service_accounts) = service_accounts { if service_accounts.is_empty() { + tracing::warn!("This account has no service accounts attached, how did this happen?"); + // request an update, wrong error message lol connection.send_error(*sequence, 1012, 13101).await; } else { @@ -112,6 +114,8 @@ async fn main() { connection.send_account_list().await; } } else { + tracing::warn!("Failed to parse service accounts from the login server!"); + // request an update, wrong error message lol connection.send_error(*sequence, 1012, 13101).await; }