diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-11 14:03:40 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2024-07-11 14:06:50 +0100 |
commit | 77d78f6ab7cf5590930c46d6d71c7345f6422fad (patch) | |
tree | a06f86456d6fc6d4871d80695e5a5a008b2ed793 /src/rspamd.c | |
parent | 1cc29aa2341dd04ce71912c824c53cc096e9bdba (diff) | |
download | rspamd-77d78f6ab7cf5590930c46d6d71c7345f6422fad.tar.gz rspamd-77d78f6ab7cf5590930c46d6d71c7345f6422fad.zip |
[Minor] Specify failure reason clearly
Diffstat (limited to 'src/rspamd.c')
-rw-r--r-- | src/rspamd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rspamd.c b/src/rspamd.c index 117f3b995..b6c361cb2 100644 --- a/src/rspamd.c +++ b/src/rspamd.c @@ -979,12 +979,16 @@ load_rspamd_config(struct rspamd_main *rspamd_main, if (init_modules) { if (!rspamd_init_filters(cfg, reload, false)) { + msg_err_main("init filters failed"); + return FALSE; } } /* Do post-load actions */ if (!rspamd_config_post_load(cfg, opts)) { + msg_err_main("post load failed"); + return FALSE; } } |