From d548d236204a3e995edbfd5f764f16022e0a2e9d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 1 Feb 2021 15:27:19 +0100 Subject: [PATCH] Bug 27569: Don't hide errors! --- C4/ImportExportFramework.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/ImportExportFramework.pm b/C4/ImportExportFramework.pm index 82ce01367e..8886ff30cf 100644 --- a/C4/ImportExportFramework.pm +++ b/C4/ImportExportFramework.pm @@ -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; } -- 2.20.1