Skip to content

Commit

Permalink
modified error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed Oct 1, 2024
1 parent b973065 commit ceebd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twilio/credential/orgs_credential_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, client_id: str, client_secret: str, token_manager=None):
super().__init__(AuthType.CLIENT_CREDENTIALS)

if client_id is None or client_secret is None:
raise TwilioException("Invalid credentials passed")
raise TwilioException("Client id and Client secret are mandatory")

self.grant_type = "client_credentials"
self.client_id = client_id
Expand Down

0 comments on commit ceebd46

Please sign in to comment.