forked from phoenix/litellm-mirror
fix - only schedule spend alerting when db is not none
This commit is contained in:
parent
7f6f196e66
commit
40b2f33a80
1 changed files with 1 additions and 0 deletions
|
@ -3483,6 +3483,7 @@ async def startup_event():
|
|||
if (
|
||||
proxy_logging_obj is not None
|
||||
and proxy_logging_obj.slack_alerting_instance is not None
|
||||
and prisma_client is not None
|
||||
):
|
||||
print("Alerting: Initializing Weekly/Monthly Spend Reports") # noqa
|
||||
### Schedule weekly/monhtly spend reports ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue