From b8854217167cda10a9bfb1e9384d62c73f7f6c18 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 23 Jan 2015 12:19:48 +0000 Subject: [PATCH] Bug 13531 - Follow up Add logging of errors. Signed-off-by: Magnus Enger 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 Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 482f2f31a8d4b13ee5bbc3fb211048056e11f090) Signed-off-by: Chris Cormack --- misc/migration_tools/bulkmarcimport.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index 8838303b56..8d1f518a7f 100755 --- a/misc/migration_tools/bulkmarcimport.pl +++ b/misc/migration_tools/bulkmarcimport.pl @@ -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"; -- 2.39.5