From 793f6ce185407989ed24555127d281806058f2e5 Mon Sep 17 00:00:00 2001 From: atlas Date: Sat, 4 Jul 2026 18:40:34 +0200 Subject: [PATCH] fix(fmt): split method chain in bring_up_secondary_with_retry for treefmt --- hive-matrix-mcp/src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hive-matrix-mcp/src/main.rs b/hive-matrix-mcp/src/main.rs index e15d0983..12d23bee 100644 --- a/hive-matrix-mcp/src/main.rs +++ b/hive-matrix-mcp/src/main.rs @@ -195,7 +195,10 @@ async fn bring_up_secondary_with_retry( ) -> Option<(Client, SyncLoop)> { // Permanent failure: the token was invalid/expired and has already been // removed from disk. Retrying won't help — skip immediately. - if first_error.downcast_ref::().is_some() { + if first_error + .downcast_ref::() + .is_some() + { tracing::error!( account = %cfg.name, error = %format!("{first_error:#}"),