Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 03b964b2

Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt

  • ID 03b964b2afb0c72dd54688e08a6dda47a1bdfee9
  • Vorgänger d4d655d8
  • Nachfolger c836425c

Wenn das Parsen eines Templates fehlschlägt, dann die dazugehörige Fehlermeldung auf STDERR ausgeben, damit sie analysiert werden kann.

Unterschiede anzeigen:

SL/Form.pm
591 591
  map { $additional_params->{$_} ||= $self->{$_} } keys %{ $self };
592 592

  
593 593
  my $output;
594
  $template->process($file, $additional_params, \$output);
594
  if (!$template->process($file, $additional_params, \$output)) {
595
    print STDERR $template->error();
596
  }
595 597

  
596 598
  $output = $main::locale->{iconv}->convert($output) if ($main::locale);
597 599

  

Auch abrufbar als: Unified diff