jira-bot/pkg/utils/errors.go
Andrey Belvedersky 0aa4922105 add NSQ
2021-06-03 09:30:25 +03:00

16 lines
196 B
Go

package utils
import "log"
func CheckErr(err error) {
if err != nil {
sendError([]int{132, 31213, 213})
}
}
func sendError(devs []int) {
for _, dev := range devs {
log.Println(dev)
}
}