[fix] a nonzero value is returned when DbMole error occurs