replaycli-go/errmgr/lib.go

12 lines
136 B
Go
Raw Normal View History

2021-09-30 00:00:49 +00:00
package errmgr
import "log"
func Report(err error) bool {
if err != nil {
log.Printf(err.Error())
return true
}
return false
}