From 41bc8bf6636221e8f2ef9fc3f9ed71e5645eae1e Mon Sep 17 00:00:00 2001 From: -LAN- Date: Sat, 21 Dec 2024 22:46:41 +0800 Subject: [PATCH] fix: change CredentialsValidateFailedError to inherit from ValueError Signed-off-by: -LAN- --- api/core/model_runtime/errors/validate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/model_runtime/errors/validate.py b/api/core/model_runtime/errors/validate.py index 7fcd2133f9f8d1..16bebcc67db062 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 """