Use DatabaseError, since exception is not catching