Bug 13531 - Follow up
Add logging of errors. Signed-off-by: Magnus Enger <magnus@enger.priv.no> More errors are indeed showing up in the log. (I took the liberty of changing the commit message a little bit.) Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
002b79c200
commit
482f2f31a8
1 changed files with 1 additions and 0 deletions
|
@ -272,6 +272,7 @@ RECORD: while ( ) {
|
|||
# changed to warn so able to continue with one broken record
|
||||
if ( defined $error ) {
|
||||
warn "unable to search the database for duplicates : $error";
|
||||
printlog( { id => $id || $originalid || $match, op => "match", status => "ERROR" } ) if ($logfile);
|
||||
next RECORD;
|
||||
}
|
||||
$debug && warn "$query $server : $totalhits";
|
||||
|
|
Loading…
Reference in a new issue