diff --git a/services/web/scripts/translations/upload.js b/services/web/scripts/translations/upload.js index 29b6e7d8dd..3a2034ceed 100644 --- a/services/web/scripts/translations/upload.js +++ b/services/web/scripts/translations/upload.js @@ -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') } }