Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: change CredentialsValidateFailedError to inherit from ValueError (#11950)

-LAN-10caab1729cb
diff --git a/api/core/model_runtime/errors/validate.py b/api/core/model_runtime/errors/validate.py
index 7fcd2133f9f..16bebcc67db 100644
--- a/api/core/model_runtime/errors/validate.py
+++ b/api/core/model_runtime/errors/validate.py
@@ -1,4 +1,4 @@
-class CredentialsValidateFailedError(Exception):
+class CredentialsValidateFailedError(ValueError):
"""
Credentials validate failed error
"""