[ALLI-2988] Handle PEAR error when renewing loans.