diff --git a/calendar.test.js b/calendar.test.js index 44196f8..d3b7dd6 100644 --- a/calendar.test.js +++ b/calendar.test.js @@ -52,7 +52,7 @@ describe('Calendar Merging API', () => { test('Merge time-based calendar', async () => { const response = await request(server) - .post('/merge') + .post('/merge') .send({ linkGroupName: 'Time Based Calendar', calendars: [ diff --git a/server.js b/server.js index edee9f1..b90962d 100644 --- a/server.js +++ b/server.js @@ -54,7 +54,7 @@ app.post('/merge', async (req, res) => { }; }) .catch((error) => { - console.error(error); + console.error(`Error fetching calendar from ${calendar.url}:`, error); return null; }); });