We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98305d commit e7caa09Copy full SHA for e7caa09
core/src/Core.php
@@ -2693,15 +2693,9 @@ public function processRoutes()
2693
->then(function ($request) {
2694
return $this->router->dispatch($request);
2695
});
2696
- } catch (NotFoundHttpException $exception) {
2697
- EvolutionCMS()->executeParser();
2698
- exit();
2699
- } catch (MethodNotAllowedException $exception) {
2700
2701
2702
- } catch (\Exception $exception) {
2703
2704
+ } catch (NotFoundHttpException | MethodNotAllowedException $exception) {
+ $this->executeParser();
+ exit;
2705
}
2706
2707
$response->send();
0 commit comments