diff --git a/src/util.ts b/src/util.ts index f66a0995..b86a6232 100644 --- a/src/util.ts +++ b/src/util.ts @@ -91,7 +91,8 @@ async function getBase( return contents; } catch (err) { - throw new Error(`${filePath} Not Found`); + err.message = `Error: ${filePath}\n${err.message}`; + throw err; } }