fixed missleading log file

This commit is contained in:
Henry Oswald 2014-02-19 15:24:29 +00:00
parent 90ad2c24c6
commit 0a2ce3b869

View file

@ -98,7 +98,7 @@ module.exports =
options = buildDefaultOptions(bucketName, "head", key)
request options, (err, res)->
if err?
logger.err err:err, res:res, bucketName:bucketName, key:key, "something went wrong copying file in aws"
logger.err err:err, res:res, bucketName:bucketName, key:key, "something went wrong checking file in aws"
if !res?
logger.err err:err, res:res, bucketName:bucketName, key:key, "no response object returned when checking if file exists"
err = new Error("no response from s3 #{bucketName} #{key}")