1st ver
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package errmgr
|
||||
|
||||
import "log"
|
||||
|
||||
func Report(err error) bool {
|
||||
if err != nil {
|
||||
log.Printf(err.Error())
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user