正在显示
1 个修改的文件
包含
7 行增加
和
0 行删除
| @@ -3,7 +3,14 @@ | @@ -3,7 +3,14 @@ | ||
| 3 | namespace Lackoxygen\ExceptionPush\Exception; | 3 | namespace Lackoxygen\ExceptionPush\Exception; |
| 4 | 4 | ||
| 5 | use App\Exceptions\Handler as BaseHandler; | 5 | use App\Exceptions\Handler as BaseHandler; |
| 6 | +use Throwable; | ||
| 6 | 7 | ||
| 7 | class Handler extends BaseHandler | 8 | class Handler extends BaseHandler |
| 8 | { | 9 | { |
| 10 | + public function report(Throwable $e) | ||
| 11 | + { | ||
| 12 | + parent::report($e); // TODO: Change the autogenerated stub | ||
| 13 | + | ||
| 14 | + app('exception.push')->boot($e); | ||
| 15 | + } | ||
| 9 | } | 16 | } |
-
请 注册 或 登录 后发表评论