From a7743a4f475578c3197cb66e109709876411f758 Mon Sep 17 00:00:00 2001 From: pinsily <13160724868@163.com> Date: Mon, 26 Aug 2024 14:46:29 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9Asave=5Fmodel=5Fcredentials=20error?= =?UTF-8?q?=20log=20(#7630)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/console/workspace/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/controllers/console/workspace/models.py b/api/controllers/console/workspace/models.py index 69f2253e97..35f02761d5 100644 --- a/api/controllers/console/workspace/models.py +++ b/api/controllers/console/workspace/models.py @@ -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