added a new logger

This commit is contained in:
JT Smith 2005-04-01 03:24:23 +00:00
parent 69cd257beb
commit 6aa9f76a71
23 changed files with 197 additions and 242 deletions

View file

@ -93,7 +93,7 @@ sub _addError {
my $self = shift;
my $errorMessage = shift;
push(@{$self->{_errors}},$errorMessage);
WebGUI::ErrorHandler::warn($errorMessage);
WebGUI::ErrorHandler::error($errorMessage);
}
@ -148,7 +148,7 @@ sub addFileFromFilesystem {
}
$filename = WebGUI::URL::makeCompliant($filename);
if (-d $pathToFile) {
WebGUI::ErrorHandler::warn($pathToFile." is a directory, not a file.");
WebGUI::ErrorHandler::error($pathToFile." is a directory, not a file.");
} else {
$a = FileHandle->new($pathToFile,"r");
if (defined $a) {