Skip to content

Commit 1d9a291

Browse files
committed
Merge remote-tracking branch '37712/fix-issue-with-handle-exception' into community_prs_april
2 parents c893121 + 03d4568 commit 1d9a291

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)