From 325c7b7b493b4f760acd392f97d2b512e4b3f34e Mon Sep 17 00:00:00 2001 From: Physick <96335032+DegustatorPonos@users.noreply.github.com> Date: Mon, 11 May 2026 14:10:04 +0500 Subject: RSS spec compliance update --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index cabe6dd..737ef8a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,8 +33,8 @@ int main() { // std::cout << "URL: " << src.GetValue() << std::endl; RSS(src.GetValue()).print_latest(span); } - } catch (char *ex) { - std::cout << "failed to read config file: " << ex << std::endl; + } catch (std::exception& err) { + std::cout << "failed to read config file: " << err.what() << std::endl; return 1; } -- cgit v1.3