Fatal Exception Handled Twice?

我在app\exceptions\handler里面的report方法里调用我自己的mailable实现报错后发送邮件的功能,但是莫名其妙的每次我测试,都会收到两封邮件,然后我注释掉了我的mailable后,继续测试,我这边查看日志,会出现一模一样的两个错,提了issue,说这事因为error_last_clear()错误被handle了但是没有最后清理掉,这算是bug吗
代码:

 public function report(Exception $exception)
    {

           if ($this->shouldReport($exception)) {
               Mail::to('leslie@aliyun.com')->send(new ReportException($exception));
           }
        parent::report($exception);

    }

mailable代码:

<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Exception;

/**
 * Class ReportException
 * @package App\Mail
 */
class ReportException extends Mailable
{
    use Queueable, SerializesModels;

    /**
     * Create a new message instance.
     * @return void
     */

    protected $exception;

    /**
     * ReportException constructor.
     * @param $exception
     */

    public function __construct(Exception $exception)
    {
        $this->exception = $exception;
    }

    /**
     * Build the message.
     * @return $this
     */

    public function build()
    {
        return $this->view('mail.error')->with([
            'Code' => $this->exception->getCode(),
            'Message' => $this->exception->getMessage(),
            'File' => $this->exception->getFile(),
            'Line' => $this->exception->getLine(),
            'Trace' => $this->exception->getTraceAsString()
        ]);
    }
}
《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 1

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!