about summary refs log tree commit diff
path: root/third_party/nix/src/libexpr/symbol-table.cc
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-14T22·04-0400
committerglittershark <grfn@gws.fyi>2020-09-16T20·17+0000
commit96dbf4d68680b7bdf9fc51e061b87d8872870c8c (patch)
tree1597e9eab62694c6ba3b8a41deae0e1bad1d532f /third_party/nix/src/libexpr/symbol-table.cc
parentfedbe693b9c0f5ba57fae82e3191efe8a633aa09 (diff)
fix(tvix): Convert INVALID_ARGUMENT to InvalidPath r/1795
The code that calls queryPathInfoUncached explicitly catches the
InvalidPath exception and translates it into a null result - but the RPC
code was throwing a regular old Error for invalid paths. At some point
we should get rid of all the exception-driven control flow in this whole
thing, but in the meantime this gets us back to functional.

Change-Id: I2a38790ee0c691ab0c8394c7738d7693fa42aa10
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1980
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Diffstat (limited to 'third_party/nix/src/libexpr/symbol-table.cc')
0 files changed, 0 insertions, 0 deletions