texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp/Texinfo/Convert HTML.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo/Convert HTML.pm
Date: Wed, 30 Nov 2011 21:41:17 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/11/30 21:41:17

Modified files:
        tp/Texinfo/Convert: HTML.pm 

Log message:
        Output an error when a handler failed, consistently with the converter
        returning at that point.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/HTML.pm?cvsroot=texinfo&r1=1.212&r2=1.213

Patches:
Index: HTML.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/HTML.pm,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -b -r1.212 -r1.213
--- HTML.pm     25 Nov 2011 00:31:19 -0000      1.212
+++ HTML.pm     30 Nov 2011 21:41:16 -0000      1.213
@@ -6295,9 +6295,12 @@
       }
       my $status = &{$handler}($converter, $stage);
       if (!$status) {
-        if ($converter->get_conf('VERBOSE')) {
-          print STDERR "Handler $handler of $stage($priority) failed\n";
-        }
+        #if ($converter->get_conf('VERBOSE')) {
+        #  print STDERR "Handler $handler of $stage($priority) failed\n";
+        #}
+        $converter->document_error(sprintf($converter->__(
+                 "Handler %s of stage %s priority %s failed"),
+                 $handler, $stage, $priority));
         return $status;
       }
     }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]