diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-05-11 14:10:04 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2026-05-11 14:10:04 +0500 |
| commit | 325c7b7b493b4f760acd392f97d2b512e4b3f34e (patch) | |
| tree | a46cc6ded67d86cee660719cca1c9e5395a44cc2 /src/main.cpp | |
| parent | 9ec645b5678f7bb15c26c52dd3abf7ed52e96667 (diff) | |
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
