fix: fix the issue with the system model configuration update (#8923)
This commit is contained in:
parent
824a71388a
commit
fa837b2dfd
1 changed files with 3 additions and 2 deletions
|
|
@ -72,8 +72,9 @@ class DefaultModelApi(Resource):
|
|||
provider=model_setting["provider"],
|
||||
model=model_setting["model"],
|
||||
)
|
||||
except Exception:
|
||||
logging.warning(f"{model_setting['model_type']} save error")
|
||||
except Exception as ex:
|
||||
logging.exception(f"{model_setting['model_type']} save error: {ex}")
|
||||
raise ex
|
||||
|
||||
return {"result": "success"}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue