From: Darold Gilles Date: Mon, 24 Apr 2017 07:54:33 +0000 (+0200) Subject: Change error level of "FATAL: cannot use CSV" to WARNING. Thanks to kong1man for... X-Git-Tag: v9.2~7^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c06d08c5bb23ba9303186548e9959a9bc7fbcb29;p=pgbadger Change error level of "FATAL: cannot use CSV" to WARNING. Thanks to kong1man for the report. --- diff --git a/pgbadger b/pgbadger index a6c51a4..b43cb87 100644 --- 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);