add more logs to debug browser context
This commit is contained in:
@ -240,7 +240,9 @@ export const fetchContent = async (
|
|||||||
} finally {
|
} finally {
|
||||||
// close browser context if it was opened
|
// close browser context if it was opened
|
||||||
if (context) {
|
if (context) {
|
||||||
|
console.info('closing context...', logRecord)
|
||||||
await context.close()
|
await context.close()
|
||||||
|
console.info('context closed', logRecord)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.info(`content-fetch result`, logRecord)
|
console.info(`content-fetch result`, logRecord)
|
||||||
|
|||||||
Reference in New Issue
Block a user