do not crash upon sqliteconstraintexception, but report to user