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

@@ -175,8 +175,8 @@ SimpleDatabase::Open()
try {
Load();
} catch (const std::exception &e) {
LogError(e);
} catch (...) {
LogError(std::current_exception());
delete root;