A guaranty, such as is mentioned in the last section, is not discharged by an omission to take proceedings upon the principal debt, or upon any collateral security for its payment, if no part of the debt could have been collected thereby.

SOURCE: CC § 2801.