graphql-engine/server/src-lib/Hasura/Backends/Postgres/Execute
Robert 9d185ffa03 server: make /healthz action clearer
This is effectively a no-op, the `Left err` case can't actually happen.

- removes some unused logic
- refactors the /healthz endpoint to be clearer
- that includes logging the full QErr if checkMetadataHealth fails,
  but it actually can't because the existing Postgres implementation
  just lifts

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2849
GitOrigin-RevId: ac8abf51b6d869ad4048419e36012137c86e5abd
2021-11-17 17:59:39 +00:00
..
Insert.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00
LiveQuery.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Mutation.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Prepare.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Types.hs server: make /healthz action clearer 2021-11-17 17:59:39 +00:00