         return
 
       @stream.on 'error', (error) -> bound ->
+        console.error "[FilesCollection] [writeStream] [ERROR:]", error
         return
 
     ###

            self.emitEvent 'end', arguments
            return
        else
          HTTP.call 'POST', "#{@collection.downloadRoute}/#{@collection.collectionName}/__upload", {data: opts}, (error, result) ->
            res      = JSON.parse result?.content or {}
            res.meta = fixJSONParse res.meta if res?.meta
            self.emitEvent 'end', [error, res]

        console.timeEnd('loadFile ' + @config.file.name) if @collection.debug
        @emitEvent 'readEnd'

      if opts.binData
        if @config.transport is 'ddp'
          Meteor.call @collection._methodNames._Write, opts, (error) ->
            self.transferTime += (+new Date) - evt.data.start
