Revision 0e25aa33
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/DB/Helper/PriceTaxCalculator.pm | ||
---|---|---|
229 | 229 |
} |
230 | 230 |
|
231 | 231 |
sub _dbg { |
232 |
$::lxdebug->message(0, join(' ', @_)); |
|
232 |
# $::lxdebug->message(0, join(' ', @_));
|
|
233 | 233 |
} |
234 | 234 |
|
235 | 235 |
1; |
SL/DB/Invoice.pm | ||
---|---|---|
178 | 178 |
if ($self->db->in_transaction) { |
179 | 179 |
$worker->(); |
180 | 180 |
} elsif (!$self->db->do_transaction($worker)) { |
181 |
$::lxdebug->message(0, "convert_to_invoice failed: " . join("\n", (split(/\n/, $self->db->error))[0..2]));
|
|
181 |
$::lxdebug->message(LXDebug->WARN(), "convert_to_invoice failed: " . join("\n", (split(/\n/, $self->db->error))[0..2]));
|
|
182 | 182 |
return undef; |
183 | 183 |
} |
184 | 184 |
|
Auch abrufbar als: Unified diff
Debugausgaben bei Level 0 vermeiden