fix(fmt): split method chain in bring_up_secondary_with_retry for treefmt

This commit is contained in:
atlas 2026-07-04 18:40:34 +02:00 committed by mara
commit 793f6ce185

View file

@ -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::<PermanentBringUpError>().is_some() {
if first_error
.downcast_ref::<PermanentBringUpError>()
.is_some()
{
tracing::error!(
account = %cfg.name,
error = %format!("{first_error:#}"),