Skip to content

Commit 4c61f69

Browse files
Merge pull request #29 from Eppo-exp/lg/missing-sync-tag-error-handling
Fix typo in missing sync tag error handling
2 parents 673ff1c + 4009d11 commit 4c61f69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eppo_metrics_sync/eppo_metrics_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def sync(self):
138138
raise Exception('EPPO_API_KEY not set in environment variables. Please set and try again')
139139

140140
sync_tag = self._determine_sync_tag()
141-
if not api_key:
141+
if not sync_tag:
142142
raise Exception('EPPO_SYNC_TAG not set in environment variables. Please set and try again')
143143

144144
headers = {"X-Eppo-Token": api_key}

0 commit comments

Comments
 (0)