mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 02:30:10 -05:00
Fix error handling code in DB upgrade.
This commit is contained in:
parent
9a816fc2f4
commit
37b42f58a6
@ -209,7 +209,7 @@ public class LocalStore extends Store implements Serializable
|
||||
}
|
||||
catch (SQLiteException e)
|
||||
{
|
||||
if (! e.toString().startsWith("duplicate column name: flagged_count"))
|
||||
if (! e.getMessage().startsWith("duplicate column name: flagged_count"))
|
||||
{
|
||||
throw e;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user