a couple more session related bug fixes

This commit is contained in:
JT Smith 2006-01-17 03:31:54 +00:00
parent 2bd8e502a7
commit e8d1d6af8f
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ sub execute {
# Load the module
$cmd = 'use '.$operation->{$op};
eval ($cmd);
$session->error("Couldn't compile operation: ".$operation->{$op}.". Root cause: ".$@) if ($@);
$session->errorHandler->error("Couldn't compile operation: ".$operation->{$op}.". Root cause: ".$@) if ($@);
# Call the method
$cmd = $operation->{$op} . '::www_'.$op;
$output = eval{&$cmd($session)};