diff --git a/lib/index.ts b/lib/index.ts index 02da734..52c919b 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -75,6 +75,7 @@ async function generate(): Promise { app.use(express.static("out")); app.use((err, req, res, next) => { + console.error("Unhandled error:", err); res.status(500).sendFile("500.html", { root: "out" });