ericmckean / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Catch JSMin (and any minifier's) exceptions #143

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In debug mode, place $e->getMessage() in a multi-line comment.
Otherwise, send HTTP 500.

Also, in cases of 400/500, add info that the administrator can investigate 
these errors using debug mode...

Original issue reported on code.google.com by mrclay....@gmail.com on 1 Oct 2009 at 3:46

GoogleCodeExporter commented 9 years ago

Original comment by mrclay....@gmail.com on 4 Sep 2011 at 12:47