fix(fmt): split method chain in bring_up_secondary_with_retry for treefmt
This commit is contained in:
parent
3de576141b
commit
793f6ce185
1 changed files with 4 additions and 1 deletions
|
|
@ -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:#}"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue