Skip to content

Commit 6022ac8

Browse files
committed
MC-42091: HTTP Status codes do not reflect "An error has happened during application run" message on the website
1 parent bf4cdad commit 6022ac8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pub/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<p>{$e->getMessage()}</p>
2121
</div>
2222
HTML;
23+
http_response_code(500);
2324
exit(1);
2425
}
2526

0 commit comments

Comments
 (0)