This commit is contained in:
tastytea 2018-02-28 22:51:25 +01:00
parent a140a6b5b3
commit e6d12bc3dd
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 1 additions and 2 deletions

View File

@ -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) 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
Copyright © 2018 tastytea <tastytea@tastytea.de>. Copyright © 2018 tastytea <tastytea@tastytea.de>.

View File

@ -70,6 +70,7 @@ const std::uint16_t http_get(const string &feedurl, string &answer, const string
return 0; return 0;
} }
// TODO: More error codes
catch (curlpp::RuntimeError &e) catch (curlpp::RuntimeError &e)
{ {
cerr << "RUNTIME ERROR: " << e.what() << std::endl; cerr << "RUNTIME ERROR: " << e.what() << std::endl;