Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit acc49c1

Browse files
committed
Dispatch an event when handling exceptions
1 parent 080a341 commit acc49c1

File tree

1 file changed

+2
-0
lines changed
  • lib/internal/Magento/Framework/App

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ public function launch()
153153
*/
154154
public function catchException(Bootstrap $bootstrap, \Exception $exception)
155155
{
156+
$this->_eventManager->dispatch('application_handled_exception', ['exception' => $exception]);
157+
156158
$result = $this->handleDeveloperMode($bootstrap, $exception)
157159
|| $this->handleBootstrapErrors($bootstrap, $exception)
158160
|| $this->handleSessionException($exception)

0 commit comments

Comments
 (0)