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

(-)a/misc/cronjobs/automatic_renewals.pl (-2 / +9 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 {
218
            ( $success, $error, $updated ) = $auto_renew->attempt_auto_renew( { confirm => $confirm } );
219
        };
220
        if( $@ ){
221
            print "An error was encounter in processing auto renewal for issue id: " . $auto_renew->issue_id ."\n";
222
            print "$@ \n";
223
            next;
224
        }
217
        if ($success) {
225
        if ($success) {
218
            if ($verbose) {
226
            if ($verbose) {
219
                say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
227
                say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
220
- 

Return to bug 37552