Skip to content

Commit 49bf35d

Browse files
author
Marcus Pettersen Irgens
committed
Add exception to debug log from Frontcontroller validation failures
1 parent ac4af31 commit 49bf35d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/App/FrontController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ private function processRequest(
141141
//Validation failed - processing validation results.
142142
$this->logger->debug(
143143
'Request validation failed for action "'
144-
.get_class($actionInstance) .'"'
144+
. get_class($actionInstance) . '"',
145+
["exception" => $exception]
145146
);
146147
$result = $exception->getReplaceResult();
147148
if ($messages = $exception->getMessages()) {

0 commit comments

Comments
 (0)