fix bug of namespace

This commit is contained in:
printempw 2016-07-29 17:47:58 +08:00
parent 61e148efd8
commit c6d0f9f6b7

View File

@ -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();
}
}