|
set_exception_handler([ExceptionHandler::getInstance(), 'handle']); |
Using set_exception_handler can override existings handler and can be a big problem for application that already use it.
For it has shutdown the NewRelic error reporting !
I suggest either to not use it or, to use it right before a call and call restore_exception_handler after the call (a successfull call or an error one).
I will have to find a way to change that. If i can will propose you a pullrequest
php-bitcoinrpc/src/functions.php
Line 121 in 172c184
Using set_exception_handler can override existings handler and can be a big problem for application that already use it.
For it has shutdown the NewRelic error reporting !
I suggest either to not use it or, to use it right before a call and call restore_exception_handler after the call (a successfull call or an error one).
I will have to find a way to change that. If i can will propose you a pullrequest