jira-bot/pkg/utils/errors.go

16 lines
196 B
Go
Raw Permalink Normal View History

2021-06-03 01:59:32 +03:00
package utils
import "log"
2021-06-03 09:30:25 +03:00
func CheckErr(err error) {
if err != nil {
sendError([]int{132, 31213, 213})
}
}
func sendError(devs []int) {
2021-06-03 01:59:32 +03:00
for _, dev := range devs {
log.Println(dev)
}
}