mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test(test_sentry.py): fix testing
This commit is contained in:
parent
0089442341
commit
c04cad208c
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ def test_exception_tracking():
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("got_exception")
|
print("got_exception")
|
||||||
print(e)
|
print(e)
|
||||||
|
os.environ["OPENAI_API_KEY"] = old_api_key
|
||||||
|
|
||||||
test_exception_tracking()
|
test_exception_tracking()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue