aboutsummaryrefslogtreecommitdiff
path: root/test/functional/eval/json_functions_spec.lua
diff options
context:
space:
mode:
authorMathias Fussenegger <f.mathias@zignar.net>2021-07-11 11:22:35 +0200
committerSean Dewar <seandewar@users.noreply.github.com>2021-09-16 14:37:20 +0100
commita265201307f6d7551518b67e16de68f5b9e2527c (patch)
tree08afdf6883e8256d37cb738ad2474047615c88c6 /test/functional/eval/json_functions_spec.lua
parent33000bd9cff3efe54c4ca14756008300d18ac07b (diff)
downloadrneovim-a265201307f6d7551518b67e16de68f5b9e2527c.tar.gz
rneovim-a265201307f6d7551518b67e16de68f5b9e2527c.tar.bz2
rneovim-a265201307f6d7551518b67e16de68f5b9e2527c.zip
backport: fix(lsp): Ensure human readable errors are printed
`return err_message(tostring(err))` caused errors to be printed as `table: 0x123456789` instead of showing the error code and error message. This also removes some `if err` blocks that never got called because at the end of `handlers.lua` all the handlers are wrapped with logic that adds generic error handling.
Diffstat (limited to 'test/functional/eval/json_functions_spec.lua')
0 files changed, 0 insertions, 0 deletions