From e6d12bc3ddd9d8b5a1ca2d697d8c2fa1f07e5e96 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 28 Feb 2018 22:51:25 +0100 Subject: [PATCH] docfix --- README.md | 2 -- src/http.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 02feac2..9e6061e 100644 --- a/README.md +++ b/README.md @@ -62,8 +62,6 @@ ${HOME}/.config/mastorss/config-example.json Same as [mastodon-cpp](https://github.com/tastytea/mastodon-cpp/blob/master/README.md#error-codes) -If you use a debug build, you get more verbose error messages. - # Copyright Copyright © 2018 tastytea . diff --git a/src/http.cpp b/src/http.cpp index 83f46c7..b3f52ab 100644 --- a/src/http.cpp +++ b/src/http.cpp @@ -70,6 +70,7 @@ const std::uint16_t http_get(const string &feedurl, string &answer, const string return 0; } + // TODO: More error codes catch (curlpp::RuntimeError &e) { cerr << "RUNTIME ERROR: " << e.what() << std::endl;