summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornytpu <alex@nytpu.com>2021-03-18 15:03:25 -0600
committernytpu <alex@nytpu.com>2021-03-18 15:03:25 -0600
commit8dfb63e640603d444c81e657bc0045178144e2a0 (patch)
tree03db3504d8803ba686ab955402c398eeba9fd289
parenteb7d8cf21e8f8230bb170102a746c6ba7e8feac0 (diff)
change http error messages to be consistent with others
-rw-r--r--fetch/http.go2
1 files changed, 1 insertions, 1 deletions
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