Display appropriate error message when Gitaly is unavailable
We are using GraphQL custom error codes to provide extra easy parsable details to the front end. They have been implemented for the paginatedTree
type resolver !104696 (merged).
The goal is to display an error message that makes it clear that gitaly is unavailable in the UI instead of the generic one.
How to set up and validate locally
gdk start
- go to http://127.0.0.1:3000/flightjs/Flight
gdk stop gitaly
- reload the page with inspector should see details about the error that are easy for the FE to handle in the extensions field.
Follow-up issue from #343260 (closed)
Edited by Patrick Cyiza