From e083273d97c75fe885178a711a8660e70684b536 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 4 Aug 2016 08:48:57 -0400 Subject: [PATCH 1/2] Applied fixes from StyleCI --- config/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/app.php b/config/app.php index 332cac7d..2b39afba 100644 --- a/config/app.php +++ b/config/app.php @@ -149,11 +149,11 @@ Illuminate\Translation\TranslationServiceProvider::class, Illuminate\Validation\ValidationServiceProvider::class, Illuminate\View\ViewServiceProvider::class, - + /* * Package Service Providers... */ - + /* * Application Service Providers... From 05235ee6bff52926b266ce0a295f3f2fc35451e0 Mon Sep 17 00:00:00 2001 From: Lance Pioch Date: Fri, 12 Aug 2016 19:07:16 -0400 Subject: [PATCH 2/2] Add TokenMismatchException to the dontReport array --- app/Exceptions/Handler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 53617ef4..4b1bef3e 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -3,6 +3,7 @@ namespace App\Exceptions; use Exception; +use Illuminate\Session\TokenMismatchException; use Illuminate\Validation\ValidationException; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; @@ -20,6 +21,7 @@ class Handler extends ExceptionHandler AuthorizationException::class, HttpException::class, ModelNotFoundException::class, + TokenMismatchException::class, ValidationException::class, ];