X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/be6f6cfd8dc7def5356edd0c5aacb814b4baded1..da99c7bcf4a8ec82d9bc1d0c75aaba6ba4cd69ea:/SL/DB/Invoice.pm?ds=inline diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 758f91a61..91ee14c85 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -178,7 +178,7 @@ sub post { if ($self->db->in_transaction) { $worker->(); } elsif (!$self->db->do_transaction($worker)) { - $::lxdebug->message(0, "convert_to_invoice failed: " . join("\n", (split(/\n/, $self->db->error))[0..2])); + $::lxdebug->message(LXDebug->WARN(), "convert_to_invoice failed: " . join("\n", (split(/\n/, $self->db->error))[0..2])); return undef; }