coreos / fedora-coreos-cincinnati

Backend for Fedora CoreOS auto-updates (Cincinnati server)
Other
11 stars 16 forks source link

graph-builder: return more structured errors to client #63

Open lucab opened 2 years ago

lucab commented 2 years ago

Right now the graph-builder mostly returns just error codes to client, logging the full cause on the backend. It should be better to return more details to the clients too, via structured errors. As long as we don't reflect back arbitrary input, it should be safe to do.