Kaydet (Commit) af5fd1e2 authored tarafından Andre Fischer's avatar Andre Fischer

123595: Add temporary debug code to find who prints '%{'.

üst 5e251e4f
......@@ -144,11 +144,12 @@ sub printf ($$@)
{
my ($self, $format, @arguments) = @_;
my $message = sprintf($format, @arguments);
if ($message =~ /\%/)
if ($format =~ /\%\{/)
{
printf(">%s<\n", $format);
PrintStackTrace();
}
my $message = sprintf($format, @arguments);
$self->print($message, 0);
}
......@@ -659,6 +660,7 @@ sub PrintStackTrace ()
}
}
sub Die ($)
{
my ($message) = @_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment