Update api/controllers/console/workspace/trigger_providers.py

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
Yeuoly 2025-10-30 15:58:41 +08:00 committed by GitHub
parent b3866288e0
commit defea962f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ class TriggerOAuthCallbackApi(Resource):
expires_at = credentials_response.expires_at
if not credentials:
raise Exception("Failed to get OAuth credentials")
raise ValueError("Failed to get OAuth credentials from the provider.")
# Update subscription builder
TriggerSubscriptionBuilderService.update_trigger_subscription_builder(