Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't ignore error in InitThriftClient (#16)
`thrift.NewTHttpClientWithOptions` may return an error, in which case `tTrans` is `nil`, which causes the next line to panic with the message `interface conversion: thrift.TTransport is nil, not *thrift.THttpClient` on the next line. Signed-off-by: Eric Bannatyne <[email protected]>
- Loading branch information