Skip to content

Commit

Permalink
add:save_model_credentials error log (langgenius#7630)
Browse files Browse the repository at this point in the history
  • Loading branch information
pinsily authored and JunXu01 committed Nov 9, 2024
1 parent e757e59 commit edae334
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/controllers/console/workspace/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def post(self, provider: str):
credentials=args['credentials']
)
except CredentialsValidateFailedError as ex:
logging.exception(f"save model credentials error: {ex}")
raise ValueError(str(ex))

return {'result': 'success'}, 200
Expand Down

0 comments on commit edae334

Please sign in to comment.