summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.go b/init.go
index f105167..a8a1084 100644
--- a/init.go
+++ b/init.go
@@ -182,7 +182,7 @@ func crash(r any, what string) {
log.Warn("PANIC ecovered in ", r, what)
UnloadToolkits()
log.Warn("PANIC ecovered in before n.Custom()", r, what)
- os.Exit(-1)
+ panic(what)
}
func watchCallback() {