mirror of
https://github.com/lennart-k/rustical.git
synced 2026-01-30 14:08:23 +00:00
sqlite_store: Add option to skip broken objects and add validation on start-up
This commit is contained in:
@@ -98,7 +98,7 @@ pub async fn put_event<C: CalendarStore>(
|
||||
Ok(object) => object,
|
||||
Err(err) => {
|
||||
warn!("invalid calendar data:\n{body}");
|
||||
warn!("{err:#?}");
|
||||
warn!("{err}");
|
||||
return Err(Error::PreconditionFailed(Precondition::ValidCalendarData));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user