mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 19:27:48 +08:00
add:save_model_credentials error log (#7630)
This commit is contained in:
parent
103ff28530
commit
a7743a4f47
@ -156,6 +156,7 @@ class ModelProviderModelApi(Resource):
|
||||
credentials=args['credentials']
|
||||
)
|
||||
except CredentialsValidateFailedError as ex:
|
||||
logging.exception(f"save model credentials error: {ex}")
|
||||
raise ValueError(str(ex))
|
||||
|
||||
return {'result': 'success'}, 200
|
||||
|
Loading…
Reference in New Issue
Block a user