aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthieu Coudron <matthieu.coudron@upmc.fr>2017-07-03 23:03:30 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-07-03 23:03:30 +0200
commite333957a1a9ae64b7daa36e08fd1df583114d4ba (patch)
treeeaa4195b651a78847ce402420c1c8df43525f69e /src
parent82907ab5fe5e09bc16901df3e9221aaeafee87a2 (diff)
downloadrneovim-e333957a1a9ae64b7daa36e08fd1df583114d4ba.tar.gz
rneovim-e333957a1a9ae64b7daa36e08fd1df583114d4ba.tar.bz2
rneovim-e333957a1a9ae64b7daa36e08fd1df583114d4ba.zip
dict_get_value(): name the missing key (#6952)
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/private/helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/api/private/helpers.c b/src/nvim/api/private/helpers.c
index d401ae52a0..1ed2bc013e 100644
--- a/src/nvim/api/private/helpers.c
+++ b/src/nvim/api/private/helpers.c
@@ -95,7 +95,7 @@ Object dict_get_value(dict_T *dict, String key, Error *err)
dictitem_T *const di = tv_dict_find(dict, key.data, (ptrdiff_t)key.size);
if (di == NULL) {
- api_set_error(err, kErrorTypeValidation, "Key not found");
+ api_set_error(err, kErrorTypeValidation, "Key '%s' not found", key.data);
return (Object)OBJECT_INIT;
}