Fix syntax error inside ErrorHandler.

Add DESTROY method to Config.pm
Change Session::close so that it doesn't destroy things that don't exist (like _server)
and destroys the logger last so we can log all errors.
This commit is contained in:
Colin Kuskie 2006-01-14 00:50:50 +00:00
parent cc370e180f
commit 8fade0f1d5
3 changed files with 11 additions and 4 deletions

View file

@ -379,7 +379,7 @@ sub warn {
my $self = shift;
my $message = shift;
$self->getLogger->warn($message);
$self->{_session}->stow->set("debug_warn") = $self->{_session}->stow->get("debug_warn").$message."\n";
$self->{_session}->stow->set("debug_warn", $self->{_session}->stow->get("debug_warn").$message."\n");
}