mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix(mcp): narrow bare except to RecordNotFoundError in BYOK credential delete
This commit is contained in:
parent
4626862580
commit
b75bd361c3
1 changed files with 1 additions and 1 deletions
|
|
@ -1386,7 +1386,7 @@ if MCP_AVAILABLE:
|
|||
)
|
||||
try:
|
||||
await delete_user_credential(prisma_client, user_id, server_id)
|
||||
except Exception:
|
||||
except RecordNotFoundError:
|
||||
pass # Already deleted or didn't exist
|
||||
from litellm.proxy._experimental.mcp_server.server import (
|
||||
_invalidate_byok_cred_cache,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue