Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle errors when retrieving and processing calendars #73

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

muness
Copy link
Member

@muness muness commented Oct 26, 2023

Previously, the code did not handle errors properly when retrieving and parsing calendar data. This update introduces error handling for downloading and filtering events from the calendars.

  • Added error handling for downloading calendars and parsing errors.
  • Store error messages encountered during processing.
  • Notify the user about any errors encountered during processing.

This change ensures that any errors encountered during the retrieval and processing of calendars are properly handled and communicated to the user.

Should help with BUG: "Invalid time value" when pointing to a Nextcloud-powered ICS #61

Previously, the code did not handle errors properly when retrieving and parsing calendar data. This update introduces error handling for downloading and filtering events from the calendars.

- Added error handling for downloading calendars and parsing errors.
- Store error messages encountered during processing.
- Notify the user about any errors encountered during processing.

This change ensures that any errors encountered during the retrieval and processing of calendars are properly handled and communicated to the user.

Should help with BUG: "Invalid time value" when pointing to a Nextcloud-powered ICS #61
The error message displayed to the user when encountering errors while processing calendars has been updated to include a new line character between each error message. This allows for better readability and clarity. The console can still be used to view more detailed error information.
@muness muness self-assigned this Oct 26, 2023
@muness muness added bug Something isn't working good first issue Good for newcomers labels Oct 26, 2023
@muness muness merged commit 3037d5e into master Oct 26, 2023
@muness muness deleted the handle-errors branch October 26, 2023 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant