We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ced67 commit 2241370Copy full SHA for 2241370
src/template.ts
@@ -87,7 +87,7 @@ export function prepareTempEntries(
87
const tmp = readFileSync(configPath, { encoding: "utf-8" })
88
pageData = JSON.parse(tmp)
89
} else {
90
- throw new Error(`Page entry: ${entry.abs}, its config (config.json) cannot be found, please check!`)
+ _console.fatal(`Page entry: ${entry.abs}, its config (config.json) cannot be found, please check!`)
91
}
92
const generatedHtml = fetchTemplateHTML(entry, pageData)
93
if (existsSync(entry.abs + "/" + entry.__options.templateName)) {
0 commit comments