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 ($$@) ...@@ -144,11 +144,12 @@ sub printf ($$@)
{ {
my ($self, $format, @arguments) = @_; my ($self, $format, @arguments) = @_;
my $message = sprintf($format, @arguments); if ($format =~ /\%\{/)
if ($message =~ /\%/)
{ {
printf(">%s<\n", $format);
PrintStackTrace(); PrintStackTrace();
} }
my $message = sprintf($format, @arguments);
$self->print($message, 0); $self->print($message, 0);
} }
...@@ -659,6 +660,7 @@ sub PrintStackTrace () ...@@ -659,6 +660,7 @@ sub PrintStackTrace ()
} }
} }
sub Die ($) sub Die ($)
{ {
my ($message) = @_; 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