diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-28 12:50:49 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-28 12:50:49 +0100 |
commit | 4e44c7895c6f23827699c6af02cb1f2c9f7a6ec3 (patch) | |
tree | c3ee2d05cfa1ee38883364aff16deb90ca5699bb | |
parent | dd09b349b1024c4c5b7329e5a7b84f5f44015a0e (diff) | |
download | rspamd-4e44c7895c6f23827699c6af02cb1f2c9f7a6ec3.tar.gz rspamd-4e44c7895c6f23827699c6af02cb1f2c9f7a6ec3.zip |
Write composite name which parsing has been failed.
-rw-r--r-- | src/libserver/cfg_rcl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c index a9105c311..55db53723 100644 --- a/src/libserver/cfg_rcl.c +++ b/src/libserver/cfg_rcl.c @@ -1111,6 +1111,8 @@ rspamd_rcl_composite_handler (rspamd_mempool_t *pool, if (!rspamd_parse_expression (composite_expression, 0, &composite_expr_subr, NULL, cfg->cfg_pool, err, &expr)) { + msg_err ("cannot parse composite expression for %s: %e", + composite_name, err); return FALSE; } |