From 986e9265d2a2ab5a998ea38de28e8288e6d651c2 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Wed, 31 Jan 2024 09:37:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20bi=E6=8A=A5=E9=94=99=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E5=AE=8C=E5=96=842?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/bi/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/bi/views.py b/apps/bi/views.py index 9306c975..cf528224 100644 --- a/apps/bi/views.py +++ b/apps/bi/views.py @@ -106,7 +106,7 @@ class DatasetViewSet(CustomModelViewSet): res[0], res[1]) except Exception as e: if raise_exception: - raise + raise ParseError(f'查询异常:{str(e)}') else: results[name] = 'error: ' + str(e) can_cache = False