about summary refs log tree commit diff
path: root/third_party/gtest
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-04-04T23·53+0200
committersterni <sternenseemann@systemli.org>2021-04-05T10·54+0000
commit1c0f89f4cadba4957e95fc80b25b1b8b6dd1a3b3 (patch)
tree3c0e209f13a3d8b3fb19c9bacde5b617458ae2d4 /third_party/gtest
parentcbd6f5bbae95c26b1e67993ac609e83fa4b117fb (diff)
feat(web/bubblegum): report some errors to the user via HTTP r/2438
We can actually catch some errors that may be generated in bubblegum
applications where we can report them to the user in a way that doesn't
require curl -vv:

* Type errors in the status argument: By removing yants completely we
  not only (presumably) gain some performance, but also the ability to
  return an internal server error on an unexpected type instead of
  throwing.

* User generated evaluation errors: by using builtins.tryEval we can
  catch throws and asserts the user inserted when generating the body
  and report to the user that something went wrong. To do: also support
  for the headers.

Change-Id: I8363b9825c6c730e624eb8016a5482d63cbc1890
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2849
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'third_party/gtest')
0 files changed, 0 insertions, 0 deletions