mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
fixed sentry
This commit is contained in:
parent
587e07a89f
commit
4c42b308b5
@ -87,12 +87,12 @@ class ExceptionHandler extends Handler
|
||||
public function report(Exception $e)
|
||||
{
|
||||
|
||||
if (!setting_value('visiosoft.module.advs::disable_sentry')
|
||||
&& app()->bound('sentry')
|
||||
&& $this->shouldReport($e)
|
||||
&& env('SENTRY_LARAVEL_DSN')) {
|
||||
|
||||
app('sentry')->captureException($e);
|
||||
if (app()->bound('sentry')
|
||||
&& $this->shouldReport($e)
|
||||
&& env('SENTRY_LARAVEL_DSN')) {
|
||||
if (!setting_value('visiosoft.module.advs::disable_sentry')) {
|
||||
app('sentry')->captureException($e);
|
||||
}
|
||||
}
|
||||
|
||||
parent::report($e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user