iComics / iComics-Issues

The official repo for tracking bugs and managing new features for iComics.
3 stars 0 forks source link

Mitigate database corruption exceptions #57

Open TimOliver opened 9 years ago

TimOliver commented 9 years ago

In very, VERY rare circumstances, it's been discovered that the database file can become corrupt. This will result in an exception being thrown upon the first time the database is loaded, which can result in the app failing to work for the user.

In the (INCREDIBLY UNLIKELY) event of this happening, I need to get the code to perform some better checks in order to mitigate any crashes this might cause, and to recover as best as possible from that situation.