Title: [243062] trunk/Tools
Revision
243062
Author
[email protected]
Date
2019-03-18 08:19:09 -0700 (Mon, 18 Mar 2019)

Log Message

[GTK][WPE] Cryptic error from Tools/gtkdoc/generate-gtkdoc
https://bugs.webkit.org/show_bug.cgi?id=195883

Reviewed by Carlos Garcia Campos.

* gtkdoc/gtkdoc.py:
(GTKDoc._run_command): When commands fail to run, include the full command line for
the program invocation and the output it has generated on the standard error stream.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (243061 => 243062)


--- trunk/Tools/ChangeLog	2019-03-18 13:42:51 UTC (rev 243061)
+++ trunk/Tools/ChangeLog	2019-03-18 15:19:09 UTC (rev 243062)
@@ -1,5 +1,16 @@
 2019-03-18  Adrian Perez de Castro  <[email protected]>
 
+        [GTK][WPE] Cryptic error from Tools/gtkdoc/generate-gtkdoc
+        https://bugs.webkit.org/show_bug.cgi?id=195883
+
+        Reviewed by Carlos Garcia Campos.
+
+        * gtkdoc/gtkdoc.py:
+        (GTKDoc._run_command): When commands fail to run, include the full command line for
+        the program invocation and the output it has generated on the standard error stream.
+
+2019-03-18  Adrian Perez de Castro  <[email protected]>
+
         [WPE] Bump dependencies to wpe-1.0 and wpebackend-fdo-1.0
         https://bugs.webkit.org/show_bug.cgi?id=195786
 

Modified: trunk/Tools/gtkdoc/gtkdoc.py (243061 => 243062)


--- trunk/Tools/gtkdoc/gtkdoc.py	2019-03-18 13:42:51 UTC (rev 243061)
+++ trunk/Tools/gtkdoc/gtkdoc.py	2019-03-18 15:19:09 UTC (rev 243062)
@@ -215,8 +215,11 @@
                     sys.stderr.write(stderr)
 
         if process.returncode != 0:
-            raise Exception('%s produced a non-zero return code %i'
-                             % (args[0], process.returncode))
+            raise Exception(('%s produced a non-zero return code %i\n'
+                             'Command:\n  %s\n'
+                             'Error output:\n  %s\n')
+                             % (args[0], process.returncode, " ".join(args),
+                                "\n  ".join(stderr.splitlines())))
 
         if not ignore_warnings and ('warning' in stderr or 'warning' in stdout):
             self.saw_warnings = True
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to