Refactor WorkflowService to handle missing default credentials gracefully

This commit is contained in:
GareArc 2025-09-18 23:56:04 -07:00
parent 6453fc4973
commit 820157558c
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -450,7 +450,8 @@ class WorkflowService:
)
if not default_provider:
raise ValueError("No default credential found")
# plugin does not require credentials, skip
return
# Check credential policy compliance using the default credential ID
from core.helper.credential_utils import check_credential_policy_compliance