mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Capture more logging information for output.zip errors
GitOrigin-RevId: a2f15d05100dfdba06778a1a795c8eabefd2666d
This commit is contained in:
@@ -36,7 +36,17 @@ module.exports = {
|
|||||||
const archive = archiver('zip')
|
const archive = archiver('zip')
|
||||||
|
|
||||||
archive.on('error', err => {
|
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 = []
|
const missingFiles = []
|
||||||
|
|||||||
Reference in New Issue
Block a user