]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Be more informative about configuration errors
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Apr 2016 11:47:41 +0000 (12:47 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 19 Apr 2016 11:47:41 +0000 (12:47 +0100)
src/libstat/stat_config.c

index 6e383baf148bf85e90bfb611db8c75d2826b1573..3856fc1173c4eb8252fdad5814f1c37535cd0d9e 100644 (file)
@@ -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;
 }