Refactor WorkflowService to handle missing default credentials gracef… (#25960)
This commit is contained in:
parent
6453fc4973
commit
9f138ef246
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue