From 7483aafb463f6121850ee7f3c9e56277a686e6a5 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 21 Sep 2022 17:21:43 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 08f5608..e5f0473 100644 --- a/dist/index.js +++ b/dist/index.js @@ -115,7 +115,7 @@ class Config { catch (e) { if (e.code === "ENOENT") return; - throw e; + throw new Error(`Error parsing file ${file}: ${e.message}`); } (0, bsert_1.default)(typeof json === "object", `Config file ${file} must be an object`); for (const key of Object.keys(json)) {