aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat/stat_config.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-19 12:47:41 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-19 12:47:41 +0100
commit78321a77304981ddbc15c92afdf311f89f3bcb74 (patch)
tree8e60828baf1fa4f82a115fe97d8bd69ff7351311 /src/libstat/stat_config.c
parentdd061a3fd83860f26522f0cc4e44e5be2488614d (diff)
downloadrspamd-78321a77304981ddbc15c92afdf311f89f3bcb74.tar.gz
rspamd-78321a77304981ddbc15c92afdf311f89f3bcb74.zip
[Minor] Be more informative about configuration errors
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r--src/libstat/stat_config.c8
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;
}