diff --git a/src/ipad.ts b/src/ipad.ts index 39fcf35..4fe8e30 100644 --- a/src/ipad.ts +++ b/src/ipad.ts @@ -31,10 +31,9 @@ calendarImg.addEventListener('load', () => { calendarImg.addEventListener('error', (event) => { spinner.style.display = 'none'; - console.error('Error fetching calendar image: ', event); errorModal.style.display = ''; const message = errorModal.querySelector('.modal-message')!; - message.textContent = `Failed to fetch events: ${event.message}. Displayed events may not be accurate.`; + message.textContent = `Failed to fetch events. Displayed events may not be accurate.`; }); function refresh() {