Update web-page handler: add more detailed error logs

This commit is contained in:
2026-03-22 10:56:48 +01:00
parent 3d044ee79e
commit 49d6781170
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ export const log = {
success: (msg, log) => {
console.log(`${prefix.success} ${chalk.green(msg)}`, log || "");
},
error: (msg) => console.error(`${prefix.error} ${chalk.red(String(msg))}`),
error: (msg, log) => console.error(`${prefix.error} ${chalk.red(String(msg))}`, log || ""),
warn: (msg) => console.warn(`${prefix.warn} ${chalk.yellow(msg)}`),
build: (msg) => console.log(`${prefix.build} ${chalk.magenta(msg)}`),
watch: (msg) => console.log(`${prefix.watch} ${chalk.blue(msg)}`),