From: Moritz Bunkus Date: Mon, 23 Jun 2014 11:21:15 +0000 (+0200) Subject: Form->error: confess anstelle von STDERR bei Fehlern von der Console aus benutzen X-Git-Tag: release-3.2.0beta~411^2~39 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c2bb1ff42520dba2abfe3faddca99de0c543d455;p=kivitendo-erp.git Form->error: confess anstelle von STDERR bei Fehlern von der Console aus benutzen --- diff --git a/SL/Form.pm b/SL/Form.pm index ed31ddf68..221f7b1aa 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -40,6 +40,7 @@ package Form; use Carp; use Data::Dumper; +use Carp; use CGI; use Cwd; use Encode; @@ -307,8 +308,7 @@ sub error { $self->show_generic_error($msg); } else { - print STDERR "Error: $msg\n"; - ::end_of_request(); + confess "Error: $msg\n"; } $main::lxdebug->leave_sub();