             roles: channelRolesForCreation
           rest.POST '/channels', channel, (error, response, body) ->
             if error?
-              deferred.reject "Error on creating channel: #{error}"
+              deferred.reject "#{LOG_PREFIX}Error on creating channel: #{error}"
             else if response.statusCode is 201
               deferred.resolve body
             else
               humanReadable = JSON.stringify body, null, 2
-              deferred.reject "Problem on creating channel: #{humanReadable}"
+              deferred.reject "#{LOG_PREFIX}Problem on creating channel: #{humanReadable}"
 
     deferred.promise
 

    deferred = Q.defer()
    xmlHelpers.xmlTransform xmlHelpers.xmlFix(fileContent), (err, xml) =>
      if err?
        deferred.reject "Error on parsing XML: #{err}"
      else
        @ensureChannelByKey(@client._rest, CHANNEL_KEY_FOR_XML_MAPPING, CHANNEL_ROLES)
        .then (result) =>


    # TODO: register this before!
    .on 'error', (error) ->
      deferred.reject "#{LOG_PREFIX}Problem in parsing CSV: #{error}"

    deferred.promise

