diff options
author | Mario Domenech Goulart <mario.goulart@bmw-carit.de> | 2016-07-21 16:08:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:10:36 +0100 |
commit | 24905d3c2de8dc31092a47dc15a09019751b53c1 (patch) | |
tree | ebfc09947e20168b5b111e9f919ea373a56009cb | |
parent | 729d9fcb54bd1442852b2715ce0a09d22acec667 (diff) | |
download | poky-24905d3c2de8dc31092a47dc15a09019751b53c1.tar.gz |
bitbake: fetcher2/__init__: Print command in case of ExecutionError in runfetchcmd
(Bitbake rev: df7f4897c463a48c45514e2bcbd44cc7f86c4bb0)
Signed-off-by: Mario Domenech Goulart <mario.goulart@bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index e2ceca0d86..3eabba16b3 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -832,7 +832,7 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None): | |||
832 | output = "output:\n%s" % e.stderr | 832 | output = "output:\n%s" % e.stderr |
833 | else: | 833 | else: |
834 | output = "no output" | 834 | output = "no output" |
835 | error_message = "Fetch command failed with exit code %s, %s" % (e.exitcode, output) | 835 | error_message = "Fetch command %s failed with exit code %s, %s" % (e.command, e.exitcode, output) |
836 | except bb.process.CmdError as e: | 836 | except bb.process.CmdError as e: |
837 | error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg) | 837 | error_message = "Fetch command %s could not be run:\n%s" % (e.command, e.msg) |
838 | if not success: | 838 | if not success: |