diff options
-rw-r--r-- | issues/global-search-unhandled-error.gmi | 17 |
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. |