diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/netcmd/group.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/netcmd/group.py b/python/samba/netcmd/group.py index 1467ddd0f23..6e5ed1def28 100644 --- a/python/samba/netcmd/group.py +++ b/python/samba/netcmd/group.py @@ -289,8 +289,8 @@ Example2 shows how to add a single user account, User2, to the supergroup AD gro member_base_dn=member_base_dn) except Exception as e: # FIXME: catch more specific exception - raise CommandError('Failed to add members %r to group "%s"' % ( - groupmembers, groupname), e) + raise CommandError('Failed to add members %r to group "%s" - %s' % ( + groupmembers, groupname, e)) self.outf.write("Added members to group %s\n" % groupname) |