present more info to debug when an attachment file is not found

This commit is contained in:
Michael Becker 2025-07-28 22:57:11 -04:00
parent b44f6431e4
commit 9d575a4efc

View File

@ -64,7 +64,12 @@
} }
else else
{ {
// header("HTTP/1.1 404 Not Found");
header("HTTP/1.1 404 Not Found"); header("HTTP/1.1 404 Not Found");
header("Content-Type: text/plain");
echo ("404 Not Found\n");
echo ("Global ID: " . $inst->GlobalIdentifier->__toString() . "\n");
echo ($path);
} }
exit(); exit();
} }