ghislainf / zf2-whoops

PHP whoops error on ZF2 framework
https://github.com/filp/whoops
59 stars 10 forks source link

Fix trapping of AJAX requests #12

Closed Saeven closed 8 years ago

Saeven commented 8 years ago

Right now the module returns full pretty-print pages for AJAX requests, which is pretty cumbersome. This bootstrap solves the problem, initializing the right page printer for AJAX requests (or otherwise).

Thanks for having put this module together btw.

Cheers. Alex

Saeven commented 8 years ago

Just wanted to follow up to get your thoughts on this PR. Thanks man!

Saeven commented 8 years ago

Checking in -- this is a critical fix, should consider bringing it in