fix(jwt): name the BLE001 suppression on the fail-safe team create in _upsert_claimed_teams

This commit is contained in:
jesus 2026-10-29 20:33:09 +00:00
parent 58fa60ab6a
commit f0fcd73aa0

View file

@ -2246,7 +2246,7 @@ class JWTAuthManager:
check_db_only=True,
team_id_upsert=True,
)
except Exception as e:
except Exception as e: # noqa: BLE001 # fail-safe: a lost create race or a create error must not fail auth, the join below still runs
verbose_proxy_logger.debug(
"JWT auth could not create team %s, trying to join it anyway: %s", team_id, e
)