mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Capture more logging information for output.zip errors
GitOrigin-RevId: a2f15d05100dfdba06778a1a795c8eabefd2666d
This commit is contained in:
parent
d4911ea246
commit
bb12dd33ee
1 changed files with 11 additions and 1 deletions
|
@ -36,7 +36,17 @@ module.exports = {
|
|||
const archive = archiver('zip')
|
||||
|
||||
archive.on('error', err => {
|
||||
logger.warn({ err }, 'error emitted when creating output files archive')
|
||||
logger.warn(
|
||||
{ err, projectId, userId, build },
|
||||
'error emitted when creating output files archive'
|
||||
)
|
||||
})
|
||||
|
||||
archive.on('warning', err => {
|
||||
logger.warn(
|
||||
{ err, projectId, userId, build },
|
||||
'warning emitted when creating output files archive'
|
||||
)
|
||||
})
|
||||
|
||||
const missingFiles = []
|
||||
|
|
Loading…
Reference in a new issue