Only catch SQLite exceptions