Refactor WorkflowService to handle missing default credentials gracefully

This commit is contained in:
GareArc 2025-09-18 23:56:04 -07:00
parent 39a0b89b9a
commit d3ac5b1dd8
No known key found for this signature in database

View File

@ -452,7 +452,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