Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: lib/webports/source_package.py

Issue 1693433005: Add package info to build failed error message (Closed) Base URL: https://chromium.googlesource.com/webports.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/webports/package.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/webports/source_package.py
diff --git a/lib/webports/source_package.py b/lib/webports/source_package.py
index 08f0809512580b8a8d2a1867df57ba5bce485199..73a13bb3223c8993029651ae618118179c4a88b4 100644
--- a/lib/webports/source_package.py
+++ b/lib/webports/source_package.py
@@ -395,7 +395,7 @@ class SourcePackage(package.Package):
cwd=self.root,
env=env)
if rtn != 0:
- raise Error("Building %s: failed." % (self.NAME))
+ raise Error('Build failed: %s' % self.InfoString())
def Download(self, force_mirror=None):
"""Download upstream sources and verify integrity."""
« no previous file with comments | « lib/webports/package.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698