我遇到了一些问题,实际上,我希望使用slack
文件中的Notifiable
特征在Handler.php
频道中发送所有错误。但不知怎的,我得到了这个错误:
local.ERROR: Serialization of 'Closure' is not allowed {"exception":"
[object] (Exception(code: 0): Serialization of 'Closure' is not
allowed at /var/www/html/****/vendor/laravel/framework/src/Illuminate/Queue/Queue.php:128)"}
我的Notifiable
来电是这段代码:
$this->notify(new ReportThirdPartiesCrashes(['request' => ['dfghyuj'], 'response' => ['cdvsfbgn']]););