fix(desktop): also quiet UI-start reconcile noise for unreachable relays

The UI-start profile reconciliation path carried the identical per-agent
eprintln! that restore.rs's boot path just learned to suppress. Without
the same guard, manually starting a local agent whose relay is unreachable
still logs a spurious failure. Apply the matching "relay unreachable:"
guard so both reconcile paths are consistent.

Co-authored-by: Will Pfleger <pfleger.will@gmail.com>
Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7
2026-06-19 08:19:06 -04:00
parent 570b8c548c
commit 7c5b1f252e

View File

@@ -867,9 +867,13 @@ pub async fn start_managed_agent(
reconcile_agent_profile(&state, &reconcile_app, &reconcile_pubkey, &reconcile_data)
.await
{
eprintln!(
"buzz-desktop: profile reconciliation failed for agent {reconcile_pubkey}: {e}"
);
// Suppress the expected relay-unreachable case; see the same
// guard in restore.rs's boot reconcile path for the rationale.
if !e.starts_with("relay unreachable:") {
eprintln!(
"buzz-desktop: profile reconciliation failed for agent {reconcile_pubkey}: {e}"
);
}
}
});
}