mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 03:28:23 +00:00
Suppress ical invalid version error
This commit is contained in:
@@ -16,6 +16,10 @@ pub async fn validate_calendar_objects_0_12(
|
||||
ical_dev::parser::ical::IcalObjectParser::new(object.get_ics().as_bytes())
|
||||
.expect_one()
|
||||
{
|
||||
if ical_dev::parser::ParserError::InvalidVersion == err {
|
||||
// This is a known issue that might cause a lot of spam in the logs
|
||||
continue;
|
||||
}
|
||||
success = false;
|
||||
error!(
|
||||
"An error occured parsing a calendar object: principal={principal}, calendar={calendar}, object_id={object_id}: {err}",
|
||||
|
||||
Reference in New Issue
Block a user