@ -6,6 +6,7 @@ import (
"fmt"
"path"
"runtime"
"runtime/debug"
)
type Error struct {
@ -21,6 +22,10 @@ var (
baseDirLength int
func init() {
debug.PrintStack()
}
func Init() {
_, file, _, _ := runtime.Caller(1)
fmt.Printf("--\nWRAPPED_ERROR: %s\n--\n", file)
The note is not visible to the blocked user.