summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-03-04 11:26:26 +0300
committerFrederick Muriuki Muriithi2024-03-04 11:26:26 +0300
commit2400957fb710b8b853a56d98f4874900fb4eca81 (patch)
tree3c2ee61cff10ee3d4844d8f37913e63b145ca04d
parent88c1fe782dd1630b98b9deb6d0018f4ebf3c0bf3 (diff)
downloadgn-gemtext-2400957fb710b8b853a56d98f4874900fb4eca81.tar.gz
New issue: Unhandled error(s) in Global Search.
-rw-r--r--issues/global-search-unhandled-error.gmi17
1 files changed, 17 insertions, 0 deletions
diff --git a/issues/global-search-unhandled-error.gmi b/issues/global-search-unhandled-error.gmi
new file mode 100644
index 0000000..b2f6ba8
--- /dev/null
+++ b/issues/global-search-unhandled-error.gmi
@@ -0,0 +1,17 @@
+# Global Search: Unhandled Error
+
+## Tags
+
+* assigned: aruni, fredm
+* priority: high
+* type: bug
+* status: open
+* keywords: global search, gn2, genenetwork2
+
+## Description
+
+=> https://github.com/genenetwork/genenetwork2/blob/testing/gn2/wqflask/gsearch.py#L31-L34 These lines
+assume the request will always be successful. This is not always the case, as can be seen with
+=> https://test3.genenetwork.org/gsearch?type=gene&terms=Priscilla here (as of 2024-03-04T11:25+03:00UTC).
+
+Possible errors should be checked for and handled before attempting to read and/or process expected data.