From c6d0f9f6b7c5089847b9b28b14ad43784233b68d Mon Sep 17 00:00:00 2001 From: printempw Date: Fri, 29 Jul 2016 17:47:58 +0800 Subject: [PATCH] fix bug of namespace --- app/Services/Boot.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/Boot.php b/app/Services/Boot.php index df0cd574..44a8a29c 100644 --- a/app/Services/Boot.php +++ b/app/Services/Boot.php @@ -4,6 +4,7 @@ namespace App\Services; use \Illuminate\Database\Capsule\Manager as Capsule; use \Pecee\SimpleRouter\SimpleRouter as Router; +use App\Exceptions\ExceptionHandler; class Boot { @@ -42,7 +43,7 @@ class Boot $whoops->register(); } else { // Register custom error handler - App\Exceptions\ExceptionHandler::register(); + ExceptionHandler::register(); } }