catch exceptions thrown at getting event types

This commit is contained in:
tibbi 2018-08-05 23:26:42 +02:00
parent 00443afab7
commit cc48ed2f83

View File

@ -976,6 +976,7 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
eventTypes.add(eventType) eventTypes.add(eventType)
} while (cursor.moveToNext()) } while (cursor.moveToNext())
} }
} catch (ignored: Exception) {
} finally { } finally {
cursor?.close() cursor?.close()
} }