From 8d27e3fe557146e6a5dbec0b5e76eb5e471323c3 Mon Sep 17 00:00:00 2001
From: Thomas <tomsStudy@gmail.com>
Date: Fri, 23 Jan 2015 12:19:48 +0000
Subject: [PATCH] Follow up

http://bugs.koha-community.org/show_bug.cgi?id=13531
---
 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 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.10.4