即时通讯试图弄清楚为什么这些仍然会发送到我的日志,我在升级指南后从5.5升级到laravel 5.6 . 我有点迷失为什么这不起作用 .
每个Exception都扩展了Exception类,
应用程序/异常/ handler.php:
protected $dontReport = [
AddNewToShorlistException::class,
AddToShorlistException::class,
ConfirmVoteException::class,
RemoveFromShortlistException::class,
UnconfimVoteException::class,
];
配置/的logging.php
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => [
'single',
'sentry',
],
],
//....
'sentry' => [
'driver' => 'sentry',
],
我试过在Handler.php中的报表方法中dd($ exception)等没有运气,似乎没有使用parent :: report($ exception)吗?