Commit ea316a8a authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

Merge branch 'fix-qa' into 'master'

fix: remove uneeded calls

See merge request to-be-continuous/tools/vault-secrets-provider!106
parents eda96c6c b2ce9e99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -678,7 +678,7 @@ func checkBody(request *http.Request) (int, []byte, error) {
		// Otherwise default to logging the error and sending a 500 Internal
		// Server Error response.
		default:
			return http.StatusInternalServerError, nil, fmt.Errorf(err.Error())
			return http.StatusInternalServerError, nil, err
			// log.Println(err.Error())
			// http.Error(writer, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
		}