diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-18 14:49:56 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-12-18 14:49:56 +0000 |
commit | a905336489eb917e055ce76b0c38cd37e908c279 (patch) | |
tree | a631cbebcfb97559459ebbcc36c0865351f1f69d /src/libstat/stat_process.c | |
parent | 5914e5c6e26b81c717bbc6bcaa8449645618c542 (diff) | |
download | rspamd-a905336489eb917e055ce76b0c38cd37e908c279.tar.gz rspamd-a905336489eb917e055ce76b0c38cd37e908c279.zip |
Clarify error message
Diffstat (limited to 'src/libstat/stat_process.c')
-rw-r--r-- | src/libstat/stat_process.c | 4 |
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); |