Compare commits

..

No commits in common. "3d330a8fe1431970c0debc9e949002027b2819d7" and "f3a9fce1f62bee18129596fa3cdb9a9480033e35" have entirely different histories.

5 changed files with 5 additions and 7 deletions

@ -1 +1 @@
Subproject commit dc1c72aeda6d273272e3a5cbd53bc242ae8acd3d
Subproject commit 1dedb86d5b6d351e776261b673896452c23b21e1

@ -1 +1 @@
Subproject commit b1d25b494175e79d5f33f7a65a45767195c997f9
Subproject commit 74582bcca22520b746da4d57da6f48d4fdda7650

@ -1 +1 @@
Subproject commit bce4268a70044926f73137f7287063b5fd22971e
Subproject commit 2176e7312b224d23e9e728011294f06fab7b1380

@ -1 +1 @@
Subproject commit cdcfae2472f34130ce9a1f53823ebf55c8f3f53b
Subproject commit 3cfd5a7d29ab85aff75a1d985bae8f5a5cf5e322

View File

@ -69,9 +69,7 @@ function mdShortenerExceptionHandler(Throwable $exception):void {
$errorReporter = new MDErrorReporter("md:frontend", "bugs-frontend@museum-digital.de");
$errorCategory = MDErrorReporter::categorizeError($exception);
if (headers_sent() === false) {
http_response_code(404);
}
http_response_code(404);
switch ($errorCategory) {
case MDErrorReporter::MD_ERROR_KNOWN: