Revert 6a7f8c in favor of a real fix
authorChris Larson <chris_larson@mentor.com>
Mon, 14 Feb 2011 19:11:19 +0000 (12:11 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 14 Feb 2011 19:13:03 +0000 (12:13 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/packaged-staging.bbclass

index 643023d..29a3238 100644 (file)
@@ -200,10 +200,10 @@ def staging_fetch(stagepkg, d):
         try:
             bb.fetch.init([srcuri], pd)
             bb.fetch.go(pd, [srcuri])
-            bb.debug(1, "Fetched staging package %s" % (bn))
-        except:
-            bb.debug(1, "Failed to fetch staging package %s" % (bn))
-            return
+        except Exception, ex:
+           bb.debug(1, "Failed to fetch staging package %s: %s" % (bn, ex))
+        else:
+           bb.debug(1, "Fetched staging package %s" % bn)
 
 PSTAGE_TASKS_COVERED = "fetch unpack munge patch configure qa_configure rig_locales compile sizecheck install deploy package populate_sysroot package_write_deb package_write_ipk package_write package_stage qa_staging"