mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +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