From: Vsevolod Stakhov Date: Wed, 5 Jun 2019 13:09:42 +0000 (+0100) Subject: [Minor] Langdet: Improve debugging slightly X-Git-Tag: 2.0~821 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=561c57859d7a2c04e836ceaa6d1a554e82a43766;p=rspamd.git [Minor] Langdet: Improve debugging slightly --- 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);