exception handling - Empty PHP Logs when using Sentry -


i'm using sentry log errors received in php application. so, high in application boostrap, have following

$raven_client = new raven_client('long_string_no_really_long'); $error_handler = new raven_errorhandler($raven_client); $error_handler->registerexceptionhandler(); $error_handler->registererrorhandler(); $error_handler->registershutdownfunction(); 

then testing purposes throw following after:

throw new exception("hello"); 

the sentry logging fine , logs piped our hosted dashboard. however, our actual php log empty (where used writing exceptions) , i'd errors handled php , written php error log.

this useful, example, if sentry server unavailable - don't want messages disappear virtual /dev/null.

i've been trying play register functions nothing seems indicate can rethrow error php can handle it.

any ideas?


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -