add some debug log?

This commit is contained in:
yimysty
2022-08-04 16:07:20 -07:00
parent 85b0d1617e
commit 1f0422c0df
5 changed files with 5 additions and 2 deletions

1
dist/index.js vendored
View File

@@ -7067,6 +7067,7 @@ module.exports = function getContext() {
const requiredVars = getRequiredVars()
for (const variable in requiredVars) {
if (requiredVars[variable] === undefined) {
console.log(`${variable} is undefined. Cannot continue.`)
throw new Error(`${variable} is undefined. Cannot continue.`)
}
}