diff options
| author | Frank LENORMAND <lenormf@gmail.com> | 2018-08-18 09:23:18 +0300 |
|---|---|---|
| committer | Frank LENORMAND <lenormf@gmail.com> | 2018-08-18 09:28:30 +0300 |
| commit | 9a111b5ebebbd15ec76be756b34e1e82fee08d05 (patch) | |
| tree | d26b45c8d468740b371dd96c432afb77424547d3 /src/input_handler.cc | |
| parent | a6da34e19229ae3f917e3b7fbb0ca408d64691e1 (diff) | |
src: Improve error messages in RPC requests parsing
Cast errors in RPC requests currently make the client quit with an
error saying "uncaught exception", since `Kakoune::bad_value_cast`
exceptions are not explicitely handled.
This commit tries to catch ill-formatted requests and return a more
human-friendly error message, without quitting the client.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
