add:save_model_credentials error log (#7630)

This commit is contained in:
pinsily 2024-08-26 14:46:29 +08:00 committed by GitHub
parent 103ff28530
commit a7743a4f47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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