fmt
record-daemon / Build, check and test (push) Successful in 2m38s

This commit is contained in:
2026-06-15 19:52:38 +02:00
parent 384ccda515
commit ba4ed63f4c
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -208,14 +208,14 @@ impl Daemon {
Some(true) => {
// Client started - try to connect
info!("League Client detected");
if let Some(creds) = watcher.credentials() {
match self.lqp_client.connect(creds.clone()).await {
Ok(()) => {
// Only transition to Monitoring after successful connection
self.state_machine
.transition(StateTransition::ClientStarted);
if let Err(e) = self.lqp_client.start_event_listener().await {
warn!("Failed to start event listener: {}", e);
// Still stay in Monitoring, will retry on next check
@@ -253,7 +253,7 @@ impl Daemon {
self.state_machine
.transition(StateTransition::ClientStarted);
}
if let Err(e) = self.lqp_client.start_event_listener().await {
warn!("Failed to start event listener on reconnect: {}", e);
} else {