From 8dfb63e640603d444c81e657bc0045178144e2a0 Mon Sep 17 00:00:00 2001 From: nytpu Date: Thu, 18 Mar 2021 15:03:25 -0600 Subject: [PATCH] change http error messages to be consistent with others --- fetch/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch/http.go b/fetch/http.go index 2661438..ae5a3bb 100644 --- a/fetch/http.go +++ b/fetch/http.go @@ -58,7 +58,7 @@ func httpFeed(data *core.FullData, remote string, title string) error { if resp.Header.Get("Content-Type") == "text/html" { // TODO - return fmt.Errorf("Extracting feed from HTML pages is unimplemented") + return fmt.Errorf("Extracting feed from HTML pages is currently unsupported.") } reader := io.LimitReader(resp.Body, 1073741824) // 1 GiB