change ErrorHandler to Log
This commit is contained in:
parent
d11cd6f4f7
commit
199c4e4960
90 changed files with 311 additions and 311 deletions
|
|
@ -48,7 +48,7 @@ sub www_formHelper {
|
|||
return "ERROR" unless (defined $sub && defined $class);
|
||||
my $output = eval { WebGUI::Pluggable::run($class, "www_".$sub, [$session]) };
|
||||
if ($@) {
|
||||
$session->errorHandler->error($@);
|
||||
$session->log->error($@);
|
||||
return "ERROR";
|
||||
}
|
||||
return $output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue