Loading cmd/vault_service/internal/vault_client.go +1 −1 Original line number Diff line number Diff line Loading @@ -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) } Loading Loading
cmd/vault_service/internal/vault_client.go +1 −1 Original line number Diff line number Diff line Loading @@ -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) } Loading