success set on users add to group

This commit is contained in:
lucio.lelii 2021-10-26 14:47:55 +02:00
parent 70391906e2
commit db30621608
1 changed files with 1 additions and 0 deletions

View File

@ -402,6 +402,7 @@ public class GroupManager {
this.internalAddUserToGroup(session, group, user);
session.save();
success = true;
}catch(StorageHubException she ){
log.error(she.getErrorMessage(), she);
GXOutboundErrorResponse.throwException(she, Response.Status.fromStatusCode(she.getStatus()));