diff --git a/upgrade-helper.py b/upgrade-helper.py
index 165fd42..8457c7b 100755
--- a/upgrade-helper.py
+++ b/upgrade-helper.py
@@ -528,6 +528,8 @@ class Updater(object):
             except Exception as e:
                 import traceback
                 E(" Couldn't commit changes to %s:\n%s" % (pkggroup_name, traceback.format_exc()))
+                # Ensure commit failures are recorded as group errors
+                g['error'] = e
                 if g in succeeded_pkggroups_ctx:
                     succeeded_pkggroups_ctx.remove(g)
                     failed_pkggroups_ctx.append(g)
