diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-19 12:47:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-04-19 12:47:41 +0100 |
commit | 78321a77304981ddbc15c92afdf311f89f3bcb74 (patch) | |
tree | 8e60828baf1fa4f82a115fe97d8bd69ff7351311 /src/libstat | |
parent | dd061a3fd83860f26522f0cc4e44e5be2488614d (diff) | |
download | rspamd-78321a77304981ddbc15c92afdf311f89f3bcb74.tar.gz rspamd-78321a77304981ddbc15c92afdf311f89f3bcb74.zip |
[Minor] Be more informative about configuration errors
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/stat_config.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c index 6e383baf1..3856fc117 100644 --- a/src/libstat/stat_config.c +++ b/src/libstat/stat_config.c @@ -292,6 +292,8 @@ rspamd_stat_get_classifier (const gchar *name) } } + msg_err ("cannot find classifier named %s", name); + return NULL; } @@ -310,6 +312,8 @@ rspamd_stat_get_backend (const gchar *name) } } + msg_err ("cannot find backend named %s", name); + return NULL; } @@ -328,6 +332,8 @@ rspamd_stat_get_tokenizer (const gchar *name) } } + msg_err ("cannot find tokenizer named %s", name); + return NULL; } @@ -346,6 +352,8 @@ rspamd_stat_get_cache (const gchar *name) } } + msg_err ("cannot find cache named %s", name); + return NULL; } |