diff --git a/scripts/rt-outreachy-payment-next.plx b/scripts/rt-outreachy-payment-next.plx index f702d43..d132dde 100755 --- a/scripts/rt-outreachy-payment-next.plx +++ b/scripts/rt-outreachy-payment-next.plx @@ -95,7 +95,12 @@ while (my $file = readdir $dh) { next; } } - die "Inside $file there is no valid Date:" if (not defined $mentorDate); + if (not defined $mentorDate) { + print STDERR "\"$file\": Skipping: Inside that file there is no valid Date: header" ; + next; + } + + # Find the ticket number for this intern. my(@nameComponents) = split(/\s*-\s*/, $name); my(@searchTerms);