From 315788f6a2c42ab161f52c90b260377aa04c8414 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 23 Jan 2015 12:19:48 +0000 Subject: [PATCH] [PASSED QA] 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 --- misc/migration_tools/bulkmarcimport.pl | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl index 8838303..8d1f518 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"; -- 1.7.2.5