]> granicus.if.org Git - pgbadger/commitdiff
Change error level of "FATAL: cannot use CSV" to WARNING. Thanks to kong1man for...
authorDarold Gilles <gilles@darold.net>
Mon, 24 Apr 2017 07:54:33 +0000 (09:54 +0200)
committerDarold Gilles <gilles@darold.net>
Mon, 24 Apr 2017 07:54:33 +0000 (09:54 +0200)
pgbadger

index a6c51a429b6ea67ff58ac17e404dbf2761beb89f..b43cb871855a213a8cff3849162741a2038045d4 100644 (file)
--- a/pgbadger
+++ b/pgbadger
@@ -2721,7 +2721,7 @@ sub process_file
                                }
                        }
                        if (!$csv->eof()) {
-                               warn "FATAL: cannot use CSV on $logfile, " . $csv->error_diag() . " at line " . ($nlines+1), "\n";
+                               warn "WARNING: cannot use CSV on $logfile, " . $csv->error_diag() . " at line " . ($nlines+1), "\n";
                                print STDERR "DETAIL: " . $csv->error_input(), "\n" if ($csv->error_input());
                                print STDERR "reset CSV parser\n";
                                $csv->SetDiag(0);