summaryrefslogtreecommitdiff
path: root/issues/global-search-unhandled-error.gmi
blob: b2f6ba87abff1116349ead409f58479035f51d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.