From ad35872fc1ba4776b321437dbcb4f47bedc6a4ab Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Sat, 17 Jun 2017 01:16:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0?= =?UTF-8?q?=20=D0=BF=D0=BE=D0=BB=D1=83=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=20?= =?UTF-8?q?=D1=82=D0=BE=D0=BA=D0=B5=D0=BD=D0=B0=20=D0=B0=D0=B2=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/worker/supports.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/worker/supports.go b/lib/worker/supports.go index 4d1f58a..beb8aea 100644 --- a/lib/worker/supports.go +++ b/lib/worker/supports.go @@ -42,8 +42,10 @@ func _getByField(field string, value string) (accounts.AccountInfoResponse, erro func getToken() (*accounts.Token, error) { if token == nil { + println("token is nil, trying to obtain new one") tempToken, err := accounts.GetToken(*AccountsTokenConfig) if err != nil { + println("cannot obtain new one token", err) return &accounts.Token{}, err }