add a debugging statement to hash-format
This commit is contained in:
parent
ac1afd3997
commit
c1d849b0e0
1 changed files with 1 additions and 1 deletions
|
@ -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}`);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue