HomePhorge

Improve logging for syntax highlighting parsing

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

Provenance
jungejasonAuthored on May 26 2011, 2:17 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP6c3b1feec896: [diffusion] keep 'view' parameter when clicking on a line number
Branches
Unknown
Tags
Unknown

Event Timeline