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

        ElasticIo.returnFailure err, next
      .done()
    else
      ElasticIo.returnFailure 'No data found in elastic.io msg.', next

  ensureChannelByKey: (rest, channelKey, channelRolesForCreation) ->
    deferred = Q.defer()

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