This commit is contained in:
2025-12-03 15:45:05 -07:00
parent b365b967b2
commit 50b30442e8
2 changed files with 4 additions and 1 deletions

View File

@@ -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
}
}