Edit this page | Blame

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:

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

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

Resolution

(made with skribilo)