db: thow exception on failed message add