From 77d51a55f7241e1eae25d89b4c76865c51565319 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期五, 06 十二月 2024 16:04:13 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/rag-gateway

---
 app/service/bisheng.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/service/bisheng.py b/app/service/bisheng.py
index b7df10a..d4ff068 100644
--- a/app/service/bisheng.py
+++ b/app/service/bisheng.py
@@ -90,10 +90,10 @@
                         name = message_json['query']
                     elif 'report_name' in message_json:
                         name = message_json['report_name']
-                except json.JSONDecodeError:
+                except Exception as e:
                     pass
                 if not name:
-                    name =  item.get("flow_name")
+                    name = item.get("flow_name")
                 return name[:50]
 
             result = [

--
Gitblit v1.8.0