diff --git a/index.js b/index.js index 064f7a8..c00dc78 100644 --- a/index.js +++ b/index.js @@ -151,6 +151,7 @@ fastify.get('/s/:date/:filename', async (request, reply) => { reply.code(200).header('Content-Type', 'text/html').send(html) } catch (error) { + console.error(error) reply.code(404).send({ error: 'File not found' }) } })