Skip to content

Commit

Permalink
fix: disable syncing when no API key is defined (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
nirga authored Oct 31, 2023
1 parent d2ccbd8 commit f90853e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/traceloop-sdk/traceloop/sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def init(
if (
traceloop_sync_enabled
and api_endpoint.find("traceloop.com") != -1
and api_key
and not exporter
):
Fetcher(base_url=api_endpoint).run()
Expand Down

0 comments on commit f90853e

Please sign in to comment.