Update FileHandler.coffee: ignore any error that happens while deleting directory during insertFile.

This commit is contained in:
c4live 2014-06-05 10:31:05 +02:00
parent df6b5132c2
commit a9be97622b

View file

@ -12,7 +12,6 @@ module.exports =
insertFile: (bucket, key, stream, callback)->
convetedKey = KeyBuilder.getConvertedFolderKey(key)
PersistorManager.deleteDirectory bucket, convetedKey, (error) ->
return callback(error) if error?
PersistorManager.sendStream bucket, key, stream, callback
deleteFile: (bucket, key, callback)->