mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
feat: ignore validate failed error log (#256)
This commit is contained in:
parent
ccd80653ff
commit
75f7a96025
|
@ -110,6 +110,8 @@ class AzureProvider(BaseProvider):
|
|||
|
||||
if missing_model_ids:
|
||||
raise ValidateFailedError("Please add deployments for '{}'.".format(", ".join(missing_model_ids)))
|
||||
except ValidateFailedError as e:
|
||||
raise e
|
||||
except AzureAuthenticationError:
|
||||
raise ValidateFailedError('Validation failed, please check your API Key.')
|
||||
except (requests.ConnectionError, requests.RequestException):
|
||||
|
|
Loading…
Reference in New Issue
Block a user