| Submitter | Paul Eggleton |
|---|---|
| Date | Jan. 11, 2012, 6:30 p.m. |
| Message ID | <f091b69c50ec75e3da81fbd8677116c1377de380.1326306561.git.paul.eggleton@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/19091/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index b76358d..80cef3f 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py @@ -977,7 +977,8 @@ class Fetch(object): raise except BBFetchException as e: - logger.warn(str(e)) + logger.warn('Failed to fetch URL %s' % u) + logger.debug(1, str(e)) # Remove any incomplete fetch if os.path.isfile(ud.localpath): bb.utils.remove(ud.localpath)
Instead of printing the full fetch command and output for the initial fetch failure, just print a one-liner containing the URL. If the user needs more detail the full version is still output as a debug message which will go into the log. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> --- bitbake/lib/bb/fetch2/__init__.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)