Closed TristanSpeakEasy closed 1 year ago
fixes a nil panic when unable to fetch feature flags and err != nil which means res.Body will be nil at defer time because we aren't returning early enough from the method
err != nil
res.Body
apologies for the slight reformatting gofmt had its way with the file let me know if you want me to revert those changes
makes sense, thanks!
fixes a nil panic when unable to fetch feature flags and
err != nil
which meansres.Body
will be nil at defer time because we aren't returning early enough from the method