File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -580,6 +580,10 @@ public function dispatch(Request $request)
580580 if ($ request instanceof InternalRequest) {
581581 throw $ exception ;
582582 }
583+
584+ $ this ->exception ->report ($ exception );
585+
586+ $ response = $ this ->exception ->handle ($ exception );
583587 }
584588
585589 return $ this ->prepareResponse ($ response , $ request , $ request ->format ());
Original file line number Diff line number Diff line change @@ -244,7 +244,6 @@ public function testRouterHandlesCustomEtag()
244244
245245 public function testExceptionsAreHandledByExceptionHandler ()
246246 {
247- $ this ->markTestIncomplete ('Test does not fully reflect adapters route handling, needs work. ' );
248247 $ exception = new HttpException (400 );
249248
250249 $ this ->router ->version ('v1 ' , function () use ($ exception ) {
You can’t perform that action at this time.
0 commit comments