diff options
author | Alexander_Kabui | 2024-04-30 18:26:43 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-04-30 18:26:43 +0300 |
commit | 92c5afea1eb29182ccbdff6629f1ece1031e52b7 (patch) | |
tree | db2ed6708096b743481914c7fefbd037dbecc5d7 | |
parent | 168ee869b89349f047b8b07043558a30556b725b (diff) | |
download | genenetwork3-92c5afea1eb29182ccbdff6629f1ece1031e52b7.tar.gz |
Add a general Exception for the /rating api
-rw-r--r-- | gn3/api/llm.py | 2 |
1 files changed, 2 insertions, 0 deletions
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/<query>", methods=["GET"]) |