summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/distros/freebsd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/distros/freebsd.py b/cloudinit/distros/freebsd.py
index 0f1656c3..afb502c9 100644
--- a/cloudinit/distros/freebsd.py
+++ b/cloudinit/distros/freebsd.py
@@ -108,8 +108,9 @@ class Distro(distros.Distro):
try:
util.subp(group_add_cmd)
LOG.info("Created new group %s", name)
- except Exception:
+ except Exception as e:
util.logexc(LOG, "Failed to create group %s", name)
+ raise e
if len(members) > 0:
for member in members: