use interpolated string or dictionary parameter in logs

This commit is contained in:
Hongbo Wu
2023-09-26 12:46:58 +08:00
parent 4d846c520b
commit efdbc4f345
18 changed files with 39 additions and 47 deletions

View File

@ -264,7 +264,7 @@ export const enqueueParseRequest = async ({
setTimeout(() => {
axios.post(env.queue.contentFetchUrl, payload).catch((error) => {
logError(error)
logger.warning(
logger.error(
`Error occurred while requesting local puppeteer-parse function\nPlease, ensure your function is set up properly and running using "yarn start" from the "/pkg/gcf/puppeteer-parse" folder`
)
})