change ErrorHandler to Log

This commit is contained in:
Doug Bell 2010-10-27 12:50:12 -05:00
parent d11cd6f4f7
commit 199c4e4960
90 changed files with 311 additions and 311 deletions

View file

@ -293,7 +293,7 @@ sub new {
$class = $main->{className};
eval { WebGUI::Pluggable::load($class) };
if ($@) {
$session->errorHandler->error($@);
$session->log->error($@);
return undef;
}
my $sub = $session->db->buildHashRef("select name,value from WorkflowActivityData where activityId=?",[$activityId]);
@ -333,7 +333,7 @@ sub newByPropertyHashRef {
my $className = $properties->{className};
eval { WebGUI::Pluggable::load($className) };
if ($@) {
$session->errorHandler->error($@);
$session->log->error($@);
return undef;
}
bless {_session=>$session, _id=>$properties->{activityId}, _data => $properties}, $className;