PATH:
home
/
lab2454c
/
netxzero.com
/
carbon-credit
/
vendor
/
spatie
/
laravel-ignition
/
src
/
FlareMiddleware
<?php namespace Spatie\LaravelIgnition\FlareMiddleware; use Illuminate\Database\QueryException; use Spatie\FlareClient\FlareMiddleware\FlareMiddleware; use Spatie\FlareClient\Report; class AddExceptionInformation implements FlareMiddleware { public function handle(Report $report, $next) { $throwable = $report->getThrowable(); if (! $throwable instanceof QueryException) { return $next($report); } $report->group('exception', [ 'raw_sql' => $throwable->getSql(), ]); return $next($report); } }
[-] AddDumps.php
[edit]
[+]
..
[-] AddJobs.php
[edit]
[-] AddExceptionInformation.php
[edit]
[-] AddLogs.php
[edit]
[-] AddQueries.php
[edit]
[-] AddNotifierName.php
[edit]
[-] AddEnvironmentInformation.php
[edit]