summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}