aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c
index 0c4ca14a8..cc3d85681 100644
--- a/src/controller.c
+++ b/src/controller.c
@@ -922,6 +922,7 @@ rspamd_controller_learn_fin_task (void *ud)
if (rspamd_learn_task_spam (session->cl, task, session->is_spam, &err) ==
RSPAMD_STAT_PROCESS_ERROR) {
+ msg_info ("cannot learn <%s>: %e", task->message_id);
rspamd_controller_send_error (conn_ent, 500 + err->code, err->message);
return TRUE;
}