mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-17 13:25:53 +08:00
docs: mention about issues caused by upstream
This commit is contained in:
parent
b9ad4facf5
commit
dd76cf3866
@ -487,6 +487,8 @@ class PageReqCtrlKit {
|
|||||||
deferred?.resolve();
|
deferred?.resolve();
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
this.lastResourceLoadedAt = now;
|
this.lastResourceLoadedAt = now;
|
||||||
|
// Beware req being undefined
|
||||||
|
// https://pptr.dev/api/puppeteer.pageevent#:~:text=For%20certain%20requests%2C%20might%20contain%20undefined.
|
||||||
const typ = req?.resourceType();
|
const typ = req?.resourceType();
|
||||||
if (!typ) {
|
if (!typ) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user