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

fix: remove uneeded calls

Fix golangci-lint
parent eda96c6c
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)
		}