From 122f566e10572e8e1f6c89a4273f338218171782 Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Tue, 28 Jul 2020 20:03:06 -0400 Subject: [PATCH] Fix missing imports for exceptions to process with frontend formatter --- src/Http/HttpServiceProvider.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Http/HttpServiceProvider.php b/src/Http/HttpServiceProvider.php index adb519fa0..0369155a8 100644 --- a/src/Http/HttpServiceProvider.php +++ b/src/Http/HttpServiceProvider.php @@ -20,6 +20,10 @@ use Flarum\Foundation\ErrorHandling\Registry; use Flarum\Foundation\ErrorHandling\Reporter; use Flarum\Foundation\ErrorHandling\FrontendFormatter; use Flarum\Foundation\ErrorHandling\WhoopsFormatter; +use Flarum\Http\Exception\RouteNotFoundException; +use Flarum\User\Exception\NotAuthenticatedException; +use Flarum\User\Exception\PermissionDeniedException; +use Illuminate\Database\Eloquent\ModelNotFoundException; class HttpServiceProvider extends AbstractServiceProvider {