Closed vasharapov closed 3 years ago
In hubclient.HttpGetString, response may be nil in case of an error. This results in "runtime error: invalid memory address or nil pointer dereference". This PR handles this case, by returning 0 status when response is nil.
In hubclient.HttpGetString, response may be nil in case of an error. This results in "runtime error: invalid memory address or nil pointer dereference". This PR handles this case, by returning 0 status when response is nil.