mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
fix(proxy): log prisma client resolution failures at debug
Address Greptile review: surface import/attribute errors instead of silently skipping the DB-backed blocked-user check. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
353d5cad0b
commit
fbfb0d297f
1 changed files with 4 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ class _ENTERPRISE_BlockedUserList(CustomLogger):
|
|||
|
||||
return global_prisma_client
|
||||
except Exception:
|
||||
verbose_proxy_logger.debug(
|
||||
"blocked_user_list: could not resolve global prisma_client",
|
||||
exc_info=True,
|
||||
)
|
||||
return None
|
||||
|
||||
def print_verbose(self, print_statement, level: Literal["INFO", "DEBUG"] = "DEBUG"):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue