From: Vsevolod Stakhov Date: Fri, 18 Dec 2015 14:49:56 +0000 (+0000) Subject: Clarify error message X-Git-Tag: 1.1.0~250 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a905336489eb917e055ce76b0c38cd37e908c279;p=rspamd.git Clarify error message --- 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);