Skip to content
Snippets Groups Projects
Commit d87f30ca authored by Peerapon Buaket's avatar Peerapon Buaket
Browse files

add:print error

parent 2d877c70
Branches main
Tags v0.3.0
No related merge requests found
......@@ -43,6 +43,7 @@ func (g *Group) Go(f func() error) {
respErr = fmt.Errorf("unknown panic: %v", r)
}
fmt.Println(respErr)
debug.PrintStack()
return
......@@ -66,6 +67,7 @@ func (g *Group) TryGo(f func() error) bool {
respErr = fmt.Errorf("unknown panic: %v", r)
}
fmt.Println(respErr)
debug.PrintStack()
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment