Homec4science

Improve logging for syntax highlighting parsing

Authored by jungejason <jun.ge.jason@fb.com> on May 26 2011, 23:17.

Description

Improve logging for syntax highlighting parsing

Summary:
add logging when syntax highlighting parsing throws exception.

Test Plan:
test when exception is thrown with non-php code. I couldn't
create a file to trigger an exception in running pygmentiza, so I
manually threw an exception to test it.

Reviewed By: tuomaspelkonen
Reviewers: tuomaspelkonen, epriestley
CC: aran, tuomaspelkonen, jungejason
Differential Revision: 350

Details

Committed
jungejason <jun.ge.jason@fb.com>May 27 2011, 02:51
Pushed
aubortJan 31 2017, 17:16
Parents
rPH6c3b1feec896: [diffusion] keep 'view' parameter when clicking on a line number
Branches
Unknown
Tags
Unknown

Event Timeline

jungejason <jun.ge.jason@fb.com> committed rPH686ffafa2123: Improve logging for syntax highlighting parsing (authored by jungejason <jun.ge.jason@fb.com>).May 27 2011, 02:51