Skip to content
Permalink
Browse files

Give diagnostics for template processing problems via WRE::File.

  • Loading branch information...
perlDreamer committed Jan 6, 2012
1 parent f62fd7c commit f56453aa72f35c3142848c111ff83cdb00a55165
Showing with 3 additions and 1 deletion.
  1. +3 −1 wre/lib/WRE/File.pm
@@ -348,7 +348,9 @@ sub processTemplate {

# process the template
my $output = undef;
$template{$refId}->process($input, $var, \$output);
unless ($template{$refId}->process($input, $var, \$output)) {
warn $template{$refId}->error;
}
return \$output;
}

0 comments on commit f56453a

Please sign in to comment.
You can’t perform that action at this time.