change ErrorHandler to Log
This commit is contained in:
parent
d11cd6f4f7
commit
199c4e4960
90 changed files with 311 additions and 311 deletions
|
|
@ -86,7 +86,7 @@ sub AUTOLOAD {
|
|||
$params{rowClass} ||= $self->{_class};
|
||||
my $control = eval { WebGUI::Pluggable::instanciate("WebGUI::Form::".$name, "new", [ $self->session, %params ]) };
|
||||
if ($@) {
|
||||
$self->session->errorHandler->error($@);
|
||||
$self->session->log->error($@);
|
||||
return undef;
|
||||
}
|
||||
$self->{_data} .= $control->toHtmlWithWrapper;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue