Skip to content

Commit 001dd9c

Browse files
iGerchakihor-sviziev
authored andcommitted
Fix issue with handle exception in the developer mode
1 parent bc1c7ba commit 001dd9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private function handleDeveloperMode(
9797
$exception = $e;
9898
}
9999
}
100+
$response->clearHeader('Location');
100101
$response->setHttpResponseCode(500);
101102
$response->setHeader('Content-Type', 'text/plain');
102103
$response->setBody($this->buildContentFromException($exception));

0 commit comments

Comments
 (0)