support plugin

This commit is contained in:
xiaomlove
2022-06-03 03:42:53 +08:00
parent 29d414ce0a
commit 44c750234a
21 changed files with 333 additions and 68 deletions
+4
View File
@@ -41,6 +41,10 @@ class Handler extends ExceptionHandler
*/
public function register()
{
if (!request()->expectsJson()) {
return;
}
$this->reportable(function (Throwable $e) {
//
});