From 754aaa037468c2427ea911eea660e2e5cb8a4deb Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Thu, 30 Sep 2021 09:17:29 -0400 Subject: [PATCH] Failed to locate ByteRange is an expected error We don't need to capture an exception for this, instead just capture the message and move on. --- src/process.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/process.ts b/src/process.ts index 3b98cc6..48e2fcc 100644 --- a/src/process.ts +++ b/src/process.ts @@ -112,11 +112,12 @@ async function loadPDF(signedPdfBuffer : ArrayBuffer): Promise