From ceebd46e29f3b4fde594630f294a46c4d9bcec0d Mon Sep 17 00:00:00 2001 From: AsabuHere Date: Tue, 1 Oct 2024 22:38:41 +0530 Subject: [PATCH] modified error messages --- twilio/credential/orgs_credential_provider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilio/credential/orgs_credential_provider.py b/twilio/credential/orgs_credential_provider.py index 10d83d32c..4e58271a9 100644 --- a/twilio/credential/orgs_credential_provider.py +++ b/twilio/credential/orgs_credential_provider.py @@ -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