about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-08-03T15·18-0700
committerkanepyork <rikingcoding@gmail.com>2020-08-04T00·26+0000
commit2344f8e5289ccd64f2eb3594aac3fee62f76395a (patch)
tree8acd047b4861d7411b5f9184986bba99633ffdd2 /nix
parentae31f51dc8e4a83d0a1a7e9f77698efe14226d39 (diff)
feat(3p/nix/daemon): catch-all explicit Error-Status conversion r/1573
We wrap every server-side proto handler with a macro that catches
exceptions and turns them into proper grpc error codes. For the
time being, most exceptions map to INTERNAL, the existing mapping.

Change-Id: Id6ed6a279b198ad185d32562f39000ccc15eadbf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1599
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions