mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -04:00
ContentManagerError exceptions are let through
This commit is contained in:
parent
ab27a1a9a2
commit
3eeea9e9a0
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user