Skip to content

Commit

Permalink
chore: add extra context to logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonlightKomorebi committed Jul 2, 2021
1 parent efd1fe1 commit 88e174b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/actions/send-and-update-translation-queue.js
Expand Up @@ -80,7 +80,7 @@ const uploadFile = (locale, batchUid, accessToken) => async (page) => {
console.log(`[*] Successfully uploaded ${page.file}.`);
await sendPageContext(page.file, accessToken);
} else {
console.error(`[!] Unable to upload ${page.file}.`);
console.error(`[!] Unable to upload ${page.file}. Code was ${code}. Response status: ${resp.status} -- ${resp.statusText}`);
}

return { code, locale, slug: page.file };
Expand Down

0 comments on commit 88e174b

Please sign in to comment.