Skip to content

Commit

Permalink
Report auth error.
Browse files Browse the repository at this point in the history
  • Loading branch information
xacadil committed Jun 3, 2024
1 parent 1823224 commit 5357208
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tap_klaviyo/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def authenticator(self):
return APIKeyAuthenticator.create_for_stream(
self, key="Authorization", value=api_key, location="header"
)
else:
raise FatalAPIError("No valid authentication method found")

@property
def http_headers(self) -> dict:
Expand Down

0 comments on commit 5357208

Please sign in to comment.