aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-14 14:44:41 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-02-14 14:45:25 +0000
commitdacdc284e792823733fc8ee02739b983640130f9 (patch)
tree24bac1e4e8bd54a16c61c86de8b2ff7884f463bf /src
parent413bb725fc56ecaea4dde751be4c531486eb4b50 (diff)
downloadrspamd-dacdc284e792823733fc8ee02739b983640130f9.tar.gz
rspamd-dacdc284e792823733fc8ee02739b983640130f9.zip
[Minor] Improve logging slightly
Diffstat (limited to 'src')
-rw-r--r--src/libserver/cfg_rcl.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 7fbe7abd4..08896f484 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -3140,8 +3140,10 @@ rspamd_rcl_parse_struct_string_list (rspamd_mempool_t *pool,
g_set_error (err,
CFG_RCL_ERROR,
EINVAL,
- "non-empty array of strings is expected: %s",
- ucl_object_key (obj));
+ "non-empty array of strings is expected: %s, "
+ "got: %s, of length: %d",
+ ucl_object_key (obj), ucl_object_type_to_string (obj->type),
+ obj->len);
return FALSE;
}