diff --git a/server.js b/server.js index 20adfc8..7956e34 100644 --- a/server.js +++ b/server.js @@ -58,7 +58,8 @@ app.post('/merge', async (req, res) => { }); } catch (error){ - + console.error(`Error reading calendar file ${calendar.url}:`, error); + return Promise.resolve(null); } } else { return axios.get(calendar.url)