projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31c26e
)
Form->error: confess anstelle von STDERR bei Fehlern von der Console aus benutzen
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 11:21:15 +0000
(13:21 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 23 Jun 2014 11:21:15 +0000
(13:21 +0200)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
ed31ddf
..
221f7b1
100644
(file)
--- 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();