diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:39:40 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-15 18:39:40 +0100 |
| commit | a61a96d975916da14cae28040dcaa527d8599b75 (patch) | |
| tree | 7b7f7ad8e1a32e1366183d99ad68027241522c64 /searx | |
| parent | a04fafd419bd465c533cc223e4036e1ca0997d5f (diff) | |
[enh] log highlighter errors
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/webapp.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 = '' |