View | Details | Raw Unified | Return to bug 37552
Collapse All | Expand All

(-)a/misc/cronjobs/automatic_renewals.pl (-2 / +7 lines)
Lines 213-219 sub _ProcessRenewals { Link Here
213
            $wants_digest   = 0;
213
            $wants_digest   = 0;
214
        }
214
        }
215
215
216
        my ( $success, $error, $updated ) = $auto_renew->attempt_auto_renew( { confirm => $confirm } );
216
        my ( $success, $error, $updated );
217
        eval { ( $success, $error, $updated ) = $auto_renew->attempt_auto_renew( { confirm => $confirm } ); };
218
        if ($@) {
219
            print "An error was encountered in processing auto renewal for issue id: " . $auto_renew->issue_id . "\n";
220
            print "$@ \n";
221
            next;
222
        }
217
        if ($success) {
223
        if ($success) {
218
            if ($verbose) {
224
            if ($verbose) {
219
                say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
225
                say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
220
- 

Return to bug 37552