mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 13:13:45 -05:00
More logging
This commit is contained in:
parent
415d937f84
commit
b3f796a093
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ module.exports =
|
|||
secret: settings.filestore.s3.secret
|
||||
bucket: bucketName
|
||||
s3Client.list prefix:key, (err, data)->
|
||||
logger.log data: data, key: key, bucketName: bucketName, "got file list"
|
||||
keys = _.map data.Contents, (entry)->
|
||||
return entry.Key
|
||||
s3Client.deleteMultiple keys, callback
|
||||
|
|
Loading…
Reference in a new issue