From 38e0544d38684c4dd7053c8145017c970f275d00 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! Signed-off-by: Ron Houk Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 0c0b2c09173ddf7a576b4373e831937e8370b159) Signed-off-by: Fridolin Somers (cherry picked from commit 9095f56590ed1199c0084a6bf5dfb4003d6fbad9) Signed-off-by: Andrew Fuerste-Henry --- 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.39.5