mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-07-23 11:39:15 +00:00
SyncManager: fix logging string that always talked about address data even for events/tasks
This commit is contained in:
parent
6050396a45
commit
2f8340a646
|
@ -132,7 +132,7 @@ class CalendarSyncManager(
|
|||
|
||||
val calendarData = response[CalendarData::class.java]
|
||||
val iCal = calendarData?.iCalendar
|
||||
?: throw DavException("Received multi-get response without address data")
|
||||
?: throw DavException("Received multi-get response without calendar data")
|
||||
|
||||
processVEvent(DavUtils.lastSegmentOfUrl(response.href), eTag, scheduleTag, StringReader(iCal))
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ class JtxSyncManager(
|
|||
|
||||
val calendarData = response[CalendarData::class.java]
|
||||
val iCal = calendarData?.iCalendar
|
||||
?: throw DavException("Received multi-get response without address data")
|
||||
?: throw DavException("Received multi-get response without task data")
|
||||
|
||||
processICalObject(DavUtils.lastSegmentOfUrl(response.href), eTag, StringReader(iCal))
|
||||
}
|
||||
|
|
|
@ -106,7 +106,7 @@ class TasksSyncManager(
|
|||
|
||||
val calendarData = response[CalendarData::class.java]
|
||||
val iCal = calendarData?.iCalendar
|
||||
?: throw DavException("Received multi-get response without address data")
|
||||
?: throw DavException("Received multi-get response without task data")
|
||||
|
||||
processVTodo(DavUtils.lastSegmentOfUrl(response.href), eTag, StringReader(iCal))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue