From c4acd80fc5cacab66bfddcdfe6251fc90268c444 Mon Sep 17 00:00:00 2001 From: developomp Date: Tue, 18 Jan 2022 11:51:36 +0900 Subject: [PATCH] improved error printing --- source/generate/recursiveParse/parseSeries.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/generate/recursiveParse/parseSeries.ts b/source/generate/recursiveParse/parseSeries.ts index a7d317d..fcc2f5b 100644 --- a/source/generate/recursiveParse/parseSeries.ts +++ b/source/generate/recursiveParse/parseSeries.ts @@ -19,7 +19,7 @@ export default function parseSeries(data: DataToPass): void { // last part of the url without the slash let lastPath = _urlPath.slice(_urlPath.lastIndexOf("/") + 1) if (!lastPath.includes("_") && !lastPath.startsWith("0")) - throw Error(`Invalid series file name at: ${path}`) + throw Error(`Invalid series file name at: "${path}"`) // if file is a series descriptor or not (not = regular series post) const isFileDescriptor = lastPath.startsWith("0") && !lastPath.includes("_")