summaryrefslogtreecommitdiff
path: root/issues/add-logging-to-rdf-endpoints.gmi
blob: 4a728598f3996ec487aab33413396dbc9e45ad6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Improve Logging in GN3 RDF endpoints

## Tags

* assigned: bonfacem
* priority: high
* type: API
* keywords: RDF, gn3

## Description

Right now troubleshooting RDF endpoints as mentioned in:

=> issues/non-deterministic-gn3-setup-on-tux01.gmi

... is difficult since we return an empty result on failure.  The culprit:

```
...
    except (RemoteDisconnected, URLError) as error:
        breakpoint()
        return jsonify({})
```

## Resolution

This has been fixed in:

=> https://github.com/genenetwork/genenetwork3/pull/151

* closed