report just the first error via RSS
authorJason Etheridge <jason@EquinoxInitiative.org>
Tue, 3 Dec 2019 20:33:42 +0000 (15:33 -0500)
committerJason Etheridge <jason@EquinoxInitiative.org>
Tue, 3 Dec 2019 20:33:42 +0000 (15:33 -0500)
qa/test_output_webifier.pl

index a42aa6b..971463f 100755 (executable)
@@ -356,7 +356,9 @@ sub update_rss {
                ^;
        }
        my $fidx = 0;
-       foreach my $f (split /\n/, $fail) {
+       my @F = (split /\n/, $fail);
+       my $f = $F[0];
+       if ($f) {
                 if ($f =~ /^(\d+) (\d+) (.+)$/) {
                     $f_subpage_count = $1;
                     $f_error_count = $2;