tweag / nixpkgs-graph-explorer

Explore the nixpkgs dependency graph
MIT License
15 stars 0 forks source link

Display errors on all output formats #71

Closed GuillaumeDesforges closed 1 year ago

GuillaumeDesforges commented 1 year ago

Is your feature request related to a problem? Please describe. Without the API up and running, when I click on "Query" then "Execute query" in left pane, it displays an error message as expected ("Error fetching graph data :(")

It is not the case when I pick the "Text" output format, which displays [], which is not distinguishable from a query successfully ran with no results.

Describe the solution you'd like I would like a uniform error display across all output formats when the query fails.