Skip to content

Commit 060e2e8

Browse files
author
Brent Jameson
committed
Remove extra logging per code review
1 parent 0be49aa commit 060e2e8

File tree

1 file changed

+0
-1
lines changed
  • app/code/Magento/Contact/Controller/Index

1 file changed

+0
-1
lines changed

app/code/Magento/Contact/Controller/Index/Post.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ public function execute()
7979
$this->messageManager->addErrorMessage($e->getMessage());
8080
$this->getDataPersistor()->set('contact_us', $this->getRequest()->getParams());
8181
} catch (\Exception $e) {
82-
$this->logger->addError('An error occurred in Controller\\Index\\Post: ' . $e->getMessage());
8382
$this->logger->critical($e);
8483
$this->messageManager->addErrorMessage(
8584
__('An error occurred while processing your form. Please try again later.')

0 commit comments

Comments
 (0)