oops
This commit is contained in:
@@ -314,7 +314,7 @@ class AscentlySyncProvider(
|
||||
return try {
|
||||
val format = SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss", Locale.US)
|
||||
format.parse(dateString)
|
||||
} catch (e: Exception) {
|
||||
} catch (_: Exception) {
|
||||
null
|
||||
}
|
||||
}
|
||||
@@ -433,6 +433,9 @@ class AscentlySyncProvider(
|
||||
// Update deletion records
|
||||
repository.clearDeletedItems()
|
||||
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