From fc861f1ed93b44b5d0068f247894a77da0931c75 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 18 Dec 2019 09:27:59 +0100 Subject: [PATCH] Bug 13897: Catch the error and warn it Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- C4/Installer.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/C4/Installer.pm b/C4/Installer.pm index 6366cee04e..3737a3a4e4 100644 --- a/C4/Installer.pm +++ b/C4/Installer.pm @@ -491,6 +491,9 @@ sub load_sql { } }; } + if ($@){ + warn "Something went wrong loading file $filename ($@)"; + } }; # errors thrown while loading installer data should be logged if( $dup_stderr ) { -- 2.39.5