Closed jtraulle closed 4 years ago
Thanks for reporting the issue. Sorry for the late reply, I have been preparing to attend a conference in Japan on Dec 1st.
I investigate this, please wait for further information.
Will there be soon a release or should I use version 1 of the package?
Same issue here.
@androideo , I've fixed it by reading the last part of this same issue, thus adding this to the Sentry
configuration in config/app.php
'before_send' => function ($event) {
return $event;
}
Hello,
I am trying to upgrade to the 2.x version of the plugin.
I have correctly setup everything but exception are not being sent to Sentry. Trying to understand what is going on, I succeeded to send the exception to Sentry if I replace
by
in the file
vendor/connehito/cake-sentry/src/Http/Client.php
If I do not do that, when
prepareEvent()
function is called invendor/sentry/sentry/src/Client.php
,\call_user_func($this->options->getBeforeSendCallback(), $event);
returns null instead of the expectedobject(Sentry\Event)
causing the exception to not being sent to Sentry :(Of course, swapping
to
in
app.php
works as expected but this should not be necessary, right ?Any idea why this is happening ? Thanks :wink: