handletelegram,gotd: add missing log context
This commit is contained in:
@@ -84,7 +84,7 @@ func newTestClient(h testHandler) *Client {
|
||||
appHash: TestAppHash,
|
||||
conn: &testConn{engine: engine, ready: ready},
|
||||
ctx: context.Background(),
|
||||
cancel: func() {},
|
||||
cancel: func(error) {},
|
||||
updateHandler: UpdateHandlerFunc(func(ctx context.Context, u tg.UpdatesClass) error { return nil }),
|
||||
onTransfer: noopOnTransfer,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user