From 03c4648d2e8658e987727bdd442ab7cf94d6585a Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Tue, 1 Oct 2024 20:53:03 -0400 Subject: [PATCH] Lint error --- src/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.ts b/src/parser.ts index 010edf2..f2c02b4 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -336,7 +336,7 @@ export default class Parser { return new DisplayString( textDecoder.decode(new Uint8Array(result)) ); - } catch (err) { + } catch { throw new ParseError(this.pos, 'Fatal error decoding UTF-8 sequence in Display String'); } }