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;