mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix check for db is connected
This commit is contained in:
parent
ae7190bea0
commit
e33c6d50a1
1 changed files with 2 additions and 1 deletions
|
|
@ -2289,7 +2289,8 @@ class PrismaClient:
|
|||
verbose_proxy_logger.debug(
|
||||
"PrismaClient: connect() called Attempting to Connect to DB"
|
||||
)
|
||||
if self.db.is_connected() is False:
|
||||
print("in connect, self.db.is_connected()", self.db.is_connected()) # noqa
|
||||
if self.db.is_connected() is not True:
|
||||
verbose_proxy_logger.debug(
|
||||
"PrismaClient: DB not connected, Attempting to Connect to DB"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue