Homec4science

Added logging when 'pygmentize' fails.

Authored by tuomaspelkonen <tuomaspelkonen@fb.com> on Jul 13 2011, 23:07.

Description

Added logging when 'pygmentize' fails.

Summary:
We are having some problems on 3/4 of our phabricator machines. The
pygmentize doesn't seem to work there for some reason. Let's log the
error and figure out what's going on.

Test Plan:
Renamed pygmentize binary on my sandbox and made sure the exception was logged.
Renamed it back and made sure a diff was syntax highlighted correctly.

Reviewed By: jungejason
Reviewers: jungejason, epriestley
Commenters: epriestley
CC: aran, jungejason, epriestley
Differential Revision: 663

Details

Committed
tuomaspelkonen <tuomaspelkonen@fb.com>Jul 13 2011, 23:43
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU1e952ee951c8: Revert the function_exists from 'idx'.
Branches
Unknown
Tags
Unknown

Event Timeline

tuomaspelkonen <tuomaspelkonen@fb.com> committed rPHUebed44644dbc: Added logging when 'pygmentize' fails. (authored by tuomaspelkonen <tuomaspelkonen@fb.com>).Jul 13 2011, 23:43