To make debugging easier, move the level 9 output debugging dumps from failure cases in the datasources to always, in the generic output service. May need further tweaking later.

This commit is contained in:
ian%hixie.ch 2002-09-12 11:45:17 +00:00
parent adba24c93e
commit 4889c1fb44
3 changed files with 1 additions and 3 deletions

View File

@ -95,7 +95,5 @@ sub getDefaultString {
}
}
# no file exists
local $" = '\', \'';
$self->dump(9, "No file found for string '$string' in protocol '$protocol' (looking for '@filenames')");
return; # no can do, sir
}

View File

@ -93,7 +93,6 @@ sub getCustomisedString {
$self->stringsCache->{$variant}->{$string} = \@results;
return @results;
} else {
$self->dump(9, "Did not find a customised string for '$string' in protocol '$protocol'");
return;
}
} else {

View File

@ -127,6 +127,7 @@ sub output {
if (not defined($session)) {
$session = $self->actualSession;
}
$self->dump(9, "outputting string '$string' on protocol '". ($self->actualProtocol) .'\'');
$self->fillData($data);
$self->outputter->output($self->app, $session,
$self->app->getService('dataSource.strings')->getExpandedString($self->app, $session, $self->actualProtocol, $string, $data));