chore(langfuse): mark the deliberate blind except in client teardown for the strict ruff gate

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yucheng 2026-09-17 02:10:24 +00:00
parent a7bafbff07
commit ee18d703c6

View file

@ -477,7 +477,7 @@ def _run_teardowns(state: _LangfuseLifecycleState, clients: tuple[Langfuse, ...]
for index, client in enumerate(batch):
try:
_teardown_langfuse_client(client)
except Exception:
except Exception: # noqa: BLE001 # SDK shutdown can raise anything; the request holding the lease must survive it
verbose_logger.exception("Langfuse client teardown failed during cache eviction")
except BaseException:
state.requeue(batch[index:])