ignore all error returned from google calendar at deleting for now

This commit is contained in:
tibbi 2017-07-23 19:54:03 +02:00
parent 49d539b899
commit 016ed0e4a5

View File

@ -350,7 +350,10 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
importIDs.forEach {
Thread({
if (context.isOnline()) {
context.getGoogleSyncService().events().delete(PRIMARY, it).execute()
try {
context.getGoogleSyncService().events().delete(PRIMARY, it).execute()
} catch (ignored: Exception) {
}
}
}).start()
}