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

(-)a/misc/cronjobs/automatic_renewals.pl (-2 / +7 lines)
Lines 170-176 while ( my $auto_renew = $auto_renews->next ) { Link Here
170
        $wants_digest   = 0;
170
        $wants_digest   = 0;
171
    }
171
    }
172
172
173
    my ( $success, $error, $updated ) = $auto_renew->attempt_auto_renew( { confirm => $confirm } );
173
    my ( $success, $error, $updated );
174
    eval { ( $success, $error, $updated ) = $auto_renew->attempt_auto_renew( { confirm => $confirm } ); };
175
    if ($@) {
176
        print "An error was encountered in processing auto renewal for issue id: " . $auto_renew->issue_id . "\n";
177
        print "$@ \n";
178
        next;
179
    }
174
    if ($success) {
180
    if ($success) {
175
        if ($verbose) {
181
        if ($verbose) {
176
            say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
182
            say sprintf "Issue id: %s for borrower: %s and item: %s %s be renewed.",
177
- 

Return to bug 37552