Commit fd84ff37 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Log remote resource info for tasks, too

parent d280ce9d
Pipeline #20742952 passed with stages
in 6 minutes and 18 seconds
......@@ -127,16 +127,17 @@ class TasksSyncManager(
davCollection.multiget(bunch)
// process multiget results
for (remote in davCollection.members) {
val eTag = remote.properties[GetETag::class.java]?.eTag
?: throw DavException("Received multi-get response without ETag")
for (remote in davCollection.members)
useRemote(remote, {
val eTag = remote.properties[GetETag::class.java]?.eTag
?: throw DavException("Received multi-get response without ETag")
val calendarData = remote.properties[CalendarData::class.java]
val iCalendar = calendarData?.iCalendar
?: throw DavException("Received multi-get response without task data")
val calendarData = remote.properties[CalendarData::class.java]
val iCalendar = calendarData?.iCalendar
?: throw DavException("Received multi-get response without task data")
processVTodo(remote.fileName(), eTag, StringReader(iCalendar))
}
processVTodo(remote.fileName(), eTag, StringReader(iCalendar))
})
}
abortIfCancelled()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment