mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-30 20:31:34 +02:00
Merge pull request #11266 from overleaf/jpa-translations-sync-debugging
[web] scripts: verbose logging in upload script GitOrigin-RevId: dbc8793358fee63dabf1d5a9b80c3613a147a53b
This commit is contained in:
@@ -35,7 +35,7 @@ async function pollUploadStatus(importId) {
|
||||
await sleep(5000)
|
||||
}
|
||||
if (task.status === 'failed') {
|
||||
console.error({ task })
|
||||
console.error(JSON.stringify({ task }, null, 2))
|
||||
throw new Error('upload failed')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user