We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f186e39 + 37219cb commit ce7ffa4Copy full SHA for ce7ffa4
internal/wrappers/feature-flags-http.go
@@ -77,7 +77,7 @@ func (f FeatureFlagsHTTPWrapper) GetSpecificFlag(flagName string) (*FeatureFlagR
77
}()
78
switch resp.StatusCode {
79
case http.StatusBadRequest, http.StatusInternalServerError:
80
- return nil, err
+ return nil, errors.New("feature flags service internal error")
81
case http.StatusOK:
82
model := FeatureFlagResponseModel{}
83
err = decoder.Decode(&model)
0 commit comments