From 92c5afea1eb29182ccbdff6629f1ece1031e52b7 Mon Sep 17 00:00:00 2001 From: Alexander_Kabui Date: Tue, 30 Apr 2024 18:26:43 +0300 Subject: Add a general Exception for the /rating api --- gn3/api/llm.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gn3/api') diff --git a/gn3/api/llm.py b/gn3/api/llm.py index 6fe87fe..7a0eff2 100644 --- a/gn3/api/llm.py +++ b/gn3/api/llm.py @@ -90,6 +90,8 @@ def rating(task_id): }, 200 except sqlite3.Error as error: raise error + except Exception as error: + raise error @GnQNA.route("/history/", methods=["GET"]) -- cgit v1.2.3