ContentManagerError exceptions are let through

This commit is contained in:
Veloman Yunkan 2024-04-16 18:45:26 +04:00 committed by Kelson
parent ab27a1a9a2
commit 3eeea9e9a0

View File

@ -600,6 +600,8 @@ void ContentManager::downloadBook(const QString &id)
std::string downloadId;
try {
downloadId = startDownload(book);
} catch (const ContentManagerError& ) {
throw;
} catch (std::exception& e) {
throwDownloadUnavailableError();
}