Bug 27569: Don't hide errors!
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 14:27:19 +0000 (15:27 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 16 Feb 2021 09:22:13 +0000 (10:22 +0100)
Signed-off-by: Ron Houk <rhouk@ottumwapubliclibrary.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/ImportExportFramework.pm

index 82ce013..8886ff3 100644 (file)
@@ -858,7 +858,8 @@ sub _processRow_DB
         $sth->execute((@$dataFields, @$dataFields));
     };
     if ($@) {
-        $debug and warn "Error _processRows_Table $@\n";
+        warn $@;
+        $debug and warn "Error _processRow_DB $@\n";
     } else {
         $ok = 1;
     }