File tree Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Expand file tree Collapse file tree 2 files changed +2
-13
lines changed Original file line number Diff line number Diff line change 1313use Guanguans \LaravelExceptionNotify \Pipelines \StrReplacePipeline ;
1414use Guanguans \LaravelExceptionNotify \Pipelines \ToHtmlPipeline ;
1515use Guanguans \LaravelExceptionNotify \Pipelines \ToMarkdownPipeline ;
16- use Guanguans \LaravelExceptionNotify \Pipelines \TrimPipeline ;
1716
1817return [
1918 /*
125124 // \Guanguans\LaravelExceptionNotify\Listeners\Reported\DdReportResultListener::class,
126125 ],
127126
128- /*
129- |--------------------------------------------------------------------------
130- | Global pipeline.
131- |--------------------------------------------------------------------------
132- | The global pipeline are used to pipeline report data.
133- |
134- */
135- 'pipeline ' => [
136- TrimPipeline::class,
137- ],
138-
139127 /*
140128 |--------------------------------------------------------------------------
141129 | default channel.
Original file line number Diff line number Diff line change 1313use Guanguans \LaravelExceptionNotify \Contracts \Channel ;
1414use Guanguans \LaravelExceptionNotify \Events \ReportedEvent ;
1515use Guanguans \LaravelExceptionNotify \Events \ReportingEvent ;
16+ use Guanguans \LaravelExceptionNotify \Pipelines \TrimPipeline ;
1617use Guanguans \LaravelExceptionNotify \Support \Traits \CreateStatic ;
1718use Illuminate \Bus \Queueable ;
1819use Illuminate \Contracts \Queue \ShouldQueue ;
@@ -79,7 +80,7 @@ public function handle()
7980 protected function getChannelPipeline (): array
8081 {
8182 return array_merge (
82- config ( ' exception-notify.pipeline ' , []) ,
83+ [TrimPipeline::class] ,
8384 config (sprintf ('exception-notify.channels.%s.pipeline ' , $ this ->channel ->getName ()), [])
8485 );
8586 }
You can’t perform that action at this time.
0 commit comments