From c402f0c3857a75cc101c3459866c94e646fd2957 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Sat, 05 Aug 2023 18:28:09 +0000
Subject: [PATCH] more robust error handling, config hotreload
---
quartz/trace.ts | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/quartz/trace.ts b/quartz/trace.ts
index 803fd2f..337ffe0 100644
--- a/quartz/trace.ts
+++ b/quartz/trace.ts
@@ -1,4 +1,5 @@
import chalk from "chalk"
+import process from "process"
const rootFile = /.*at file:/
export function trace(msg: string, err: Error) {
@@ -28,4 +29,5 @@
}
}
}
+ process.exit(1)
}
--
Gitblit v1.10.0