mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 20:41:01 +00: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:
parent
6154db8f92
commit
d1c2c46224
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ async function pollUploadStatus(importId) {
|
||||||
await sleep(5000)
|
await sleep(5000)
|
||||||
}
|
}
|
||||||
if (task.status === 'failed') {
|
if (task.status === 'failed') {
|
||||||
console.error({ task })
|
console.error(JSON.stringify({ task }, null, 2))
|
||||||
throw new Error('upload failed')
|
throw new Error('upload failed')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue