From 46b24b724a3cd1313581c31b05d8a90ef658f417 Mon Sep 17 00:00:00 2001 From: Ryan Mwangi Date: Thu, 31 Oct 2024 15:27:46 +0300 Subject: [PATCH] add logging to ensure file merging logic is working --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index b317372..76603b0 100644 --- a/server.js +++ b/server.js @@ -109,7 +109,7 @@ app.post('/merge', async (req, res) => { res.json({ url: `${req.protocol}://${req.get('host')}/calendar/${sanitizedLinkGroupName}` }); } catch (error) { - console.error(error); + console.error('Error merging calendars:', error); res.status(500).json({ error: 'Failed to merge calendars' }); } });