You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
InvalidArgumentException: Processors must be valid callables (callback or object with an __invoke method), BGalati\MonologSentryHandler\SentryHandler given
#5
HI there
I'm attempting to implement your solution as I share your feelings about the change to the implementation of the fingers crossed handler.
Here's what I've got:
$ravenHandler = new SentryHandler(new Hub($c->get('sentry')));
$logger->pushProcessor($ravenHandler);
InvalidArgumentException: Processors must be valid callables (callback or object with an __invoke method), BGalati\MonologSentryHandler\SentryHandler given
Beware of getsentry/sentry-php#878 (I will try to update the doc)
And also beware that the library might be broken for the new released version of the SDK: ^2.2 because of the hack needed for getsentry/sentry-php#811.
HI there
I'm attempting to implement your solution as I share your feelings about the change to the implementation of the fingers crossed handler.
Here's what I've got:
Sentry is defined like this
Still I'm getting this error
slim php 3.9
monolog v1.25.1
Are you able to shed any light on this?
https://github.com/brighte-capital/slim-core/pull/5
Thanks
The text was updated successfully, but these errors were encountered: