oops
This commit is contained in:
@@ -314,7 +314,7 @@ class AscentlySyncProvider(
|
|||||||
return try {
|
return try {
|
||||||
val format = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss", Locale.US)
|
val format = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss", Locale.US)
|
||||||
format.parse(dateString)
|
format.parse(dateString)
|
||||||
} catch (e: Exception) {
|
} catch (_: Exception) {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -433,6 +433,9 @@ class AscentlySyncProvider(
|
|||||||
// Update deletion records
|
// Update deletion records
|
||||||
repository.clearDeletedItems()
|
repository.clearDeletedItems()
|
||||||
uniqueDeletions.forEach { repository.trackDeletion(it.id, it.type) }
|
uniqueDeletions.forEach { repository.trackDeletion(it.id, it.type) }
|
||||||
|
} catch (e: Exception) {
|
||||||
|
AppLogger.e(TAG, e) { "Error applying delta response" }
|
||||||
|
throw e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user