chore: update pypdfium2_backend.py

occured -> occurred

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
This commit is contained in:
Ikko Eltociear Ashimine 2024-11-05 15:01:14 +09:00 committed by GitHub
parent e30a9c25a2
commit dfa0013078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ class PyPdfiumPageBackend(PdfPageBackend):
self._ppage: pdfium.PdfPage = pdfium_doc[page_no]
except PdfiumError as e:
_log.info(
f"An exception occured when loading page {page_no} of document {document_hash}.",
f"An exception occurred when loading page {page_no} of document {document_hash}.",
exc_info=True,
)
self.valid = False