             }
 
             SocialChannel[funcName] client, options, (err) ->
-              return console.error "couldnt #{funcName} user into group socialapi chan", err, options  if err
+              console.error "couldnt #{funcName} user into group socialapi chan", err, options  if err
+              return callback err

      client.connection.groupName = group.slug

      group.createSocialApiChannels client, (err, socialApiChannels) ->
        return console.error 'couldnt create socialapi channels', err  if err
        { socialApiChannelId, socialApiAnnouncementChannelId } = socialApiChannels

        # ensure member has socialapi id
        member.createSocialApiId (err, socialApiId) ->
          return console.error 'couldnt create socialapi id', err  if err

          options = {
            channelId  : socialApiChannelId




participantHandler = (funcName, data, callback = ->) ->

  JSession          = require '../session'
  SocialChannel     = require './channel'
  { group, member } = data

  group.fetchAdmin (err, admin) ->
    if err
      console.error 'err while fetching admin', err
      return callback err

    unless admin
      console.error 'couldnt find admin'
      return callback new Error 'couldnt find admin'

    sessionData = { username: admin.profile.nickname, groupName: group.slug }
    JSession.fetchSessionByData sessionData, (err, session) ->
      if err
        console.error 'err while fetching session', err
        return callback err

      unless session
        console.error 'couldnt find a session'
        return callback new Error 'couldnt find a session'

      client = {}
      client.sessionToken = session.clientId
