decoder/Thread, ...: log all exceptions

This commit is contained in:
Max Kellermann
2018-08-09 11:14:40 +02:00
parent 87570cdd9b
commit 01d3777574
8 changed files with 19 additions and 20 deletions

View File

@@ -81,8 +81,8 @@ UPnPDeviceDirectory::Downloader::OnEnd()
try {
d.Parse(url, data.c_str());
} catch (const std::exception &e) {
LogError(e);
} catch (...) {
LogError(std::current_exception());
}
parent.LockAdd(std::move(d));