Unify custom exceptions

This commit is contained in:
Vladimir Golovnev (Glassez)
2021-05-05 16:41:30 +03:00
parent 89cedd411e
commit 9565b695ef
13 changed files with 43 additions and 57 deletions

View File

@@ -313,7 +313,7 @@ void Feed::loadArticles(const QByteArray &data)
if (!addArticle(article))
delete article;
}
catch (const std::runtime_error&) {}
catch (const RuntimeError &) {}
}
}
@@ -335,7 +335,7 @@ void Feed::loadArticlesLegacy()
if (!addArticle(article))
delete article;
}
catch (const std::runtime_error&) {}
catch (const RuntimeError &) {}
}
}