diff --git a/bot.go b/bot.go index 4ab871d..ff912c2 100644 --- a/bot.go +++ b/bot.go @@ -960,6 +960,8 @@ func botGWithdraw(m *tb.Message) { FromChatID64: m.Chat.ID, } TGCmdQueue <- c + } else { + log.Printf("botGWithdraw : %s\n", string(b)) } } else { diff --git a/job.go b/job.go index 437b60d..6074886 100644 --- a/job.go +++ b/job.go @@ -1298,6 +1298,10 @@ func jobGWithdraw(j Job) { } } } + + b, _ := json.Marshal(p) + log.Printf("jobGWithdraw : %s\n", string(b)) + if p.Status < 64 { if (p.Status & 1) == 1 { log.Printf("jobGWithdraw : Requesting res.\n")