Skip to content

Commit 492a6fe

Browse files
authored
Stopped double handling exceptions (dingo#1502)
* Updated dev master alias and blueprint version * Fixed dingo blueprint version * Added missing abstract method * Added missing abstract method * Stoped double handling exceptions
1 parent 5796f72 commit 492a6fe

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Routing/Router.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,10 +510,6 @@ public function dispatch(Request $request)
510510

511511
try {
512512
$response = $this->adapter->dispatch($request, $request->version());
513-
514-
if (property_exists($response, 'exception') && $response->exception instanceof Exception) {
515-
throw $response->exception;
516-
}
517513
} catch (Exception $exception) {
518514
if ($request instanceof InternalRequest) {
519515
throw $exception;

0 commit comments

Comments
 (0)