mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
fixed missleading log file
This commit is contained in:
parent
90ad2c24c6
commit
0a2ce3b869
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ module.exports =
|
||||||
options = buildDefaultOptions(bucketName, "head", key)
|
options = buildDefaultOptions(bucketName, "head", key)
|
||||||
request options, (err, res)->
|
request options, (err, res)->
|
||||||
if err?
|
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?
|
if !res?
|
||||||
logger.err err:err, res:res, bucketName:bucketName, key:key, "no response object returned when checking if file exists"
|
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}")
|
err = new Error("no response from s3 #{bucketName} #{key}")
|
||||||
|
|
Loading…
Reference in a new issue