     argIndex = 0
     console.error """
       IDE.CollaborationController:
-      #{ format.replace /%s/g, -> args[argIndex++] or '%s' }
+      #{ format.replace /%s/g, -> JSON.stringify(args[argIndex++]) or '%s' }
     """
 
 


    @fetchSocialChannel (err, channel) =>
      if err
        console.warn "CollaborationController: #{err}"
        return callMethod 'notStarted'

      @isRealtimeSessionActive channel.id, (isActive, file) =>


  throwError: throwError = (err, args...) ->

    format = JSON.stringify \
      switch typeof err
        when 'string' then err
        when 'object' then err.message or err.description
