mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 13:21:28 +00:00
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:
parent
adba24c93e
commit
4889c1fb44
@ -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
|
||||
}
|
||||
|
@ -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 {
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user