diff --git a/internal/federation/dereferencing/account.go b/internal/federation/dereferencing/account.go index 48ee9f1d7f..dcaa08b51b 100644 --- a/internal/federation/dereferencing/account.go +++ b/internal/federation/dereferencing/account.go @@ -401,7 +401,7 @@ func (d *deref) GetAccount(ctx context.Context, params GetAccountParams) (foundA if accountDomainChanged || sharedInboxChanged || fieldsChanged || fingeredChanged { if dbErr := d.db.UpdateAccount(ctx, foundAccount); dbErr != nil { - err = newErrDB(fmt.Errorf("GetRemoteAccount: error updating remoteAccount: %w", err)) + err = newErrDB(fmt.Errorf("GetRemoteAccount: error updating remoteAccount: %w", dbErr)) return } }