aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstat
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstat')
-rw-r--r--src/libstat/stat_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstat/stat_process.c b/src/libstat/stat_process.c
index 419827aeb..e09f72950 100644
--- a/src/libstat/stat_process.c
+++ b/src/libstat/stat_process.c
@@ -807,8 +807,8 @@ rspamd_stat_learn (struct rspamd_task *task,
}
if (!learned) {
- g_set_error (err, rspamd_stat_quark (), 500, "message cannot be learned"
- " for any classifier defined");
+ g_set_error (err, rspamd_stat_quark (), 500, "message cannot be learned as "
+ "it has too few tokens for any classifier defined");
}
else {
g_atomic_int_inc (&task->worker->srv->stat->messages_learned);