Homec4science

Ignore pygmentize errors when no lexer is found

Authored by Nicholas Harper <nharper@fb.com> on Oct 8 2011, 01:01.

Description

Ignore pygmentize errors when no lexer is found

Summary:
We get a lot of log spew from pygmentize not being able to find a lexer. This
reverts D663, which added logging for pygmentize.

Test Plan:
Loaded diffusion looking at a file with an extension for which there is no
lexer, and checked the error log to see that the error doesn't appear.

Reviewers: tuomaspelkonen, jungejason, epriestley

Reviewed By: epriestley

CC: aran, nh, epriestley, tuomaspelkonen

Differential Revision: 992

Details

Committed
Nicholas Harper <nharper@fb.com>Oct 10 2011, 20:28
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU8fe8e9e83449: Provide a simple email parser class to libphutil
Branches
Unknown
Tags
Unknown

Event Timeline

Nicholas Harper <nharper@fb.com> committed rPHU99f13abd733d: Ignore pygmentize errors when no lexer is found (authored by Nicholas Harper <nharper@fb.com>).Oct 10 2011, 20:28