test
This commit is contained in:
parent
d1bfa399d3
commit
57f91afe32
@ -181,6 +181,7 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
|
||||
log.Printf("TGCmdWorker[" + strconv.Itoa(id) + "] : Starting.")
|
||||
for c := range cmds {
|
||||
b, err := json.Marshal(c)
|
||||
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : Marshal(c)")
|
||||
log.Printf("TGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(b))
|
||||
}
|
||||
log.Printf("TGCmdWorker[" + strconv.Itoa(id) + "] : Closing.")
|
||||
|
Loading…
Reference in New Issue
Block a user