Skip to content

Commit

Permalink
add:save_model_credentials error log
Browse files Browse the repository at this point in the history
  • Loading branch information
pinsily authored Aug 26, 2024
1 parent 1ba3d3a commit 477bf81
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 477bf81

Please sign in to comment.