From c1d849b0e0727ad057944576203e2081cea405de Mon Sep 17 00:00:00 2001 From: cswimr Date: Sat, 8 Feb 2025 11:19:15 -0600 Subject: [PATCH] add a debugging statement to hash-format --- src/enums/hash-format.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/enums/hash-format.ts b/src/enums/hash-format.ts index b827455..fa5b531 100644 --- a/src/enums/hash-format.ts +++ b/src/enums/hash-format.ts @@ -10,6 +10,6 @@ export function isValidHashFormat(hashFormat: string): HashFormat { if (hashFormat in HashFormat) { return HashFormat[hashFormat as keyof typeof HashFormat]; } else { - throw new Error("Invalid index file hash format!"); + throw new Error(`Invalid index file hash format: ${hashFormat}`); } }