diff --git a/searx/webapp.py b/searx/webapp.py index 57551a655..cf58c55d9 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -115,6 +115,7 @@ def code_highlighter(codelines, language=None): lexer = get_lexer_by_name(language, stripall=True) except: # if lexer is not found, using default one + logger.debug('highlighter cannot find lexer for {0}'.format(language)) lexer = get_lexer_by_name('text', stripall=True) html_code = ''