File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
lib/internal/Magento/Framework/App Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Front controller responsible for dispatching application requests
4
- *
5
3
* Copyright © Magento, Inc. All rights reserved.
6
4
* See COPYING.txt for license details.
7
5
*/
17
15
use Magento \Framework \App \Request \Http as HttpRequest ;
18
16
19
17
/**
18
+ * Front controller responsible for dispatching application requests
19
+ *
20
20
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
21
21
*/
22
22
class FrontController implements FrontControllerInterface
@@ -116,6 +116,8 @@ public function dispatch(RequestInterface $request)
116
116
}
117
117
118
118
/**
119
+ * Process (validate and dispatch) the incoming request
120
+ *
119
121
* @param HttpRequest $request
120
122
* @param ActionInterface $actionInstance
121
123
* @throws NotFoundException
@@ -141,7 +143,8 @@ private function processRequest(
141
143
//Validation failed - processing validation results.
142
144
$ this ->logger ->debug (
143
145
'Request validation failed for action " '
144
- .get_class ($ actionInstance ) .'" '
146
+ . get_class ($ actionInstance ) . '" ' ,
147
+ ["exception " => $ exception ]
145
148
);
146
149
$ result = $ exception ->getReplaceResult ();
147
150
if ($ messages = $ exception ->getMessages ()) {
You can’t perform that action at this time.
0 commit comments