more bug fixes

This commit is contained in:
JT Smith 2005-02-17 21:05:33 +00:00
parent fa680c215d
commit 09abb2d440
3 changed files with 21 additions and 11 deletions

View file

@ -87,7 +87,7 @@ sub page {
$method = "www_".$method;
$output = eval{$asset->$method()};
if ($@) {
WebGUI::ErrorHandler::fatalError("Couldn't call method ".$method." on asset for ".$asset->get("url")." (".$asset->getId."). Root cause: ".$@);
WebGUI::ErrorHandler::fatalError("Couldn't call method ".$method." on asset for ".$session{env}{PATH_INFO}." Root cause: ".$@);
} else {
if ($output eq "" && $method ne "view") {
$output = $asset->www_view;