Cleaning up the administrative UI.

This commit is contained in:
JT Smith 2002-11-11 01:41:52 +00:00
parent e8bab4e22b
commit ca32410535
6 changed files with 489 additions and 588 deletions

View file

@ -201,7 +201,7 @@ sub _processOperations {
if ($session{form}{op} =~ /^[A-Za-z]+$/) {
$cmd = "WebGUI::Operation::www_".$session{form}{op};
$output = eval($cmd);
WebGUI::ErrorHandler::security("call a non-existent operation: $session{form}{op}.") if($@);
WebGUI::ErrorHandler::security("call a non-existent operation: $session{form}{op}. Root cause: ".$@) if($@);
} else {
WebGUI::ErrorHandler::security("execute an invalid operation: ".$session{form}{op});
}