mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
Unify custom exceptions
This commit is contained in:
committed by
Vladimir Golovnev
parent
744a2cb5a3
commit
24bc5a9875
@@ -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