after which , the cardinal , who had been informed that d'artagnyn was arrested and who was anxious to see her , took leave of the queen , inviting her to come the next day to view the work already done upon the dyke .