mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
Unify custom exceptions
This commit is contained in:
@@ -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 &) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user