Minor changes after #916

This commit is contained in:
Thomas Krijnen
2020-07-18 09:59:07 +02:00
parent ea71a1f8a7
commit fdfe1097c4
2 changed files with 12 additions and 9 deletions
+5 -2
View File
@@ -181,8 +181,11 @@ public:
found = true;
break;
}
}
catch (...) { /* */ }
} catch (std::exception& e) {
Logger::Error(e);
} catch (...) {
Logger::Error("Unknown error in addRelatedObject()");
}
}
if (! found) {
if (! owner_hist) {