github.com/neatlab/neatio@v1.7.3-0.20220425043230-d903e92fcc75/internal/debug/loudpanic.go (about) 1 //go:build go1.6 2 // +build go1.6 3 4 package debug 5 6 import "runtime/debug" 7 8 func LoudPanic(x interface{}) { 9 debug.SetTraceback("all") 10 panic(x) 11 }