From 561c57859d7a2c04e836ceaa6d1a554e82a43766 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 5 Jun 2019 14:09:42 +0100 Subject: [PATCH] [Minor] Langdet: Improve debugging slightly --- src/libmime/lang_detection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libmime/lang_detection.c b/src/libmime/lang_detection.c index 0312d009b..bb00fb31d 100644 --- a/src/libmime/lang_detection.c +++ b/src/libmime/lang_detection.c @@ -1675,6 +1675,9 @@ rspamd_language_detector_try_stop_words (struct rspamd_task *task, ret = TRUE; } } + else { + msg_debug_lang_det ("found no stop words in a text"); + } kh_destroy (rspamd_sw_hash, cbdata.res); -- 2.39.5