mirror of
https://git.mirrors.martin98.com/https://github.com/jina-ai/reader
synced 2025-08-15 16:55:54 +08:00
fix: attachment pdf
This commit is contained in:
parent
c5abdf8570
commit
e2aed6dd97
@ -573,6 +573,12 @@ document.addEventListener('load', handlePageLoad);
|
||||
cause: err,
|
||||
});
|
||||
}
|
||||
if (err?.message?.startsWith('net::ERR_ABORTED')) {
|
||||
if (pdfUrls.length) {
|
||||
// Not throw for pdf mode.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.logger.warn(`Page ${sn}: Browsing of ${url} failed`, { err: marshalErrorLike(err) });
|
||||
return Promise.reject(new AssertionFailureError({
|
||||
|
Loading…
x
Reference in New Issue
Block a user