summaryrefslogtreecommitdiff
path: root/init.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-04 08:04:32 -0500
committerJeff Carr <[email protected]>2025-09-04 08:04:32 -0500
commit709094a80f9bf51485df9dc215688b9a4c9dbe54 (patch)
treeaccca9da5eea84587075cdd256d6554d7637e730 /init.go
parent33f801ed717dc3edb73c8619d6ea7b4694342437 (diff)
panic() here for stacktracev0.22.50
Diffstat (limited to 'init.go')
-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() {