From d8cbaf14354b8051da6d0ec18b53d1338cb7dd81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Fri, 4 Nov 2016 13:07:10 +0100 Subject: [PATCH] DN: Bei Fehlern in der Transaktion Fehler anzeigen --- SL/DN.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SL/DN.pm b/SL/DN.pm index 5dd6fe918..9273bf564 100644 --- a/SL/DN.pm +++ b/SL/DN.pm @@ -292,6 +292,10 @@ sub save_dunning { $main::lxdebug->enter_sub(); my $rc = SL::DB->client->with_transaction(\&_save_dunning, $self, $myconfig, $form, $rows); + + if (!$rc) { + die SL::DB->client->error + } $::lxdebug->leave_sub; return $rc; -- 2.20.1