mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 16:16:47 +00:00
refactor: implement multi-tier logging and drop panicOnWarning
- Centralize logger: warnf/errorf for normal pages; HTML comments for adapters - Add dev console logs and export structured logs to /hbx-debug.json - Remove --panicOnWarning from dev scripts; builds no longer fail on warnings - Fix prior lint/format issues across scripts and templates
This commit is contained in:
1 parent
0fc34ba8c8
commit
220330d872
47 files changed
+217
-501
No files matched your search
@@ -107,7 +107,6 @@ HUGO_ARGS=(
|
||||
if [ "$DEBUG_MODE" = true ]; then
|
||||
HUGO_ARGS+=(
|
||||
--logLevel debug
|
||||
--panicOnWarning
|
||||
--templateMetrics
|
||||
--templateMetricsHints
|
||||
--ignoreCache
|
||||
|
||||
@@ -85,7 +85,6 @@ HUGO_ARGS=(
|
||||
if [ "$DEBUG_MODE" = true ]; then
|
||||
HUGO_ARGS+=(
|
||||
--logLevel debug
|
||||
--panicOnWarning
|
||||
--templateMetrics
|
||||
--templateMetricsHints
|
||||
--ignoreCache
|
||||
|
||||
Reference in new issue
Block a user