mirror of
https://gitlab.com/MisterBiggs/brain-quartz.git
synced 2025-07-25 07:41:30 +00:00
more robust error handling, config hotreload
This commit is contained in:
@@ -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 @@ export function trace(msg: string, err: Error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
process.exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user