Skip to content

Commit e105f26

Browse files
committed
Fixed typo
1 parent a49d7c1 commit e105f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pecee/SimpleRouter/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public function routeRequest(): ?string
444444
}
445445

446446
} catch (Exception $e) {
447-
return $this->handleException(new Exception($e->getMessage(), $e->getCode()));
447+
return $this->handleException($e);
448448
}
449449

450450
if ($methodNotAllowed === true) {

0 commit comments

Comments
 (0)