Skip to content

Commit 7ab4568

Browse files
committed
Remove register report event
1 parent 4d5384e commit 7ab4568

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

config/exception-notify.php

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -91,34 +91,6 @@
9191
// \Guanguans\LaravelExceptionNotify\Collectors\RequestSessionCollector::class,
9292
],
9393

94-
/*
95-
|--------------------------------------------------------------------------
96-
| Reporting event.
97-
|--------------------------------------------------------------------------
98-
|
99-
| The event that will be triggered when the report is ready.
100-
|
101-
*/
102-
'reporting' => [
103-
// \Guanguans\LaravelExceptionNotify\Listeners\Reporting\LogReportListener::class,
104-
// \Guanguans\LaravelExceptionNotify\Listeners\Reporting\DumpReportListener::class,
105-
// \Guanguans\LaravelExceptionNotify\Listeners\Reporting\DdReportListener::class,
106-
],
107-
108-
/*
109-
|--------------------------------------------------------------------------
110-
| Reported event.
111-
|--------------------------------------------------------------------------
112-
|
113-
| The event that will be triggered when the report is reported.
114-
|
115-
*/
116-
'reported' => [
117-
// \Guanguans\LaravelExceptionNotify\Listeners\Reported\LogReportResultListener::class,
118-
// \Guanguans\LaravelExceptionNotify\Listeners\Reported\DumpReportResultListener::class,
119-
// \Guanguans\LaravelExceptionNotify\Listeners\Reported\DdReportResultListener::class,
120-
],
121-
12294
/*
12395
|--------------------------------------------------------------------------
12496
| default channel.

src/ExceptionNotifyServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ public function boot()
3636
Request::mixin($this->app->make(RequestMacro::class));
3737
Collection::mixin($this->app->make(CollectionMacro::class));
3838
Str::mixin($this->app->make(StrMacro::class));
39-
$this->registerReportingEvent();
40-
$this->registerReportedEvent();
39+
// $this->registerReportingEvent();
40+
// $this->registerReportedEvent();
4141
}
4242

4343
/**

0 commit comments

Comments
 (0)