mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) use sentry dsn instead of sentry API URL
This commit is contained in:
parent
0ee9c61090
commit
b3776fc0d8
1 changed files with 1 additions and 1 deletions
|
@ -2105,7 +2105,7 @@ def set_callbacks(callback_list, function_id=None):
|
||||||
else "1.0"
|
else "1.0"
|
||||||
)
|
)
|
||||||
sentry_sdk_instance.init(
|
sentry_sdk_instance.init(
|
||||||
dsn=os.environ.get("SENTRY_API_URL"),
|
dsn=os.environ.get("SENTRY_DSN"),
|
||||||
traces_sample_rate=float(sentry_trace_rate),
|
traces_sample_rate=float(sentry_trace_rate),
|
||||||
)
|
)
|
||||||
capture_exception = sentry_sdk_instance.capture_exception
|
capture_exception = sentry_sdk_instance.capture_exception
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue