debug g deposit
This commit is contained in:
parent
dc009b1b43
commit
1a7b8a57e0
@ -247,7 +247,7 @@ func MQTGCmdWorker(id int, cmds <-chan TGCommand) {
|
|||||||
if clt, ok := getLockedClient(c.FromUserID64, false); ok {
|
if clt, ok := getLockedClient(c.FromUserID64, false); ok {
|
||||||
j, err := json.Marshal(c)
|
j, err := json.Marshal(c)
|
||||||
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Marshal(c)")
|
logOnError(err, "MQTGCmdWorker["+strconv.Itoa(id)+"] : Marshal(c)")
|
||||||
//log.Printf("MQTGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
log.Printf("MQTGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
||||||
for clt.MQ.Connection.IsClosed() {
|
for clt.MQ.Connection.IsClosed() {
|
||||||
clt.Active = false
|
clt.Active = false
|
||||||
log.Printf("MQTGCmdWorker : Resetting MQ connection for #%d.\n", c.FromUserID64)
|
log.Printf("MQTGCmdWorker : Resetting MQ connection for #%d.\n", c.FromUserID64)
|
||||||
@ -605,7 +605,7 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
|
|||||||
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : SendDocument Chat")
|
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : SendDocument Chat")
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
log.Printf("TGCmdWorker[" + strconv.Itoa(id) + "] : Unknown command.\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user