diff --git a/src/manager.cpp b/src/manager.cpp index 70cc9e2352d19a9d8db1b8ac9e7f5a447d84dd6a..c00490a59f563cec3c5a173548cfe51f9e947d87 100644 --- a/src/manager.cpp +++ b/src/manager.cpp @@ -2791,8 +2791,14 @@ Manager::loadAccountMap(const YAML::Node& node) pluginPreferences.unserialize(node); #endif } catch (const YAML::Exception& e) { - JAMI_ERR("%s: Preferences node unserialize error: ", e.what()); + JAMI_ERR("Preferences node unserialize YAML exception: %s", e.what()); ++errorCount; + } catch (const std::exception& e) { + JAMI_ERR("Preferences node unserialize standard exception: %s", e.what()); + ++errorCount; + } catch (...) { + JAMI_ERR("Preferences node unserialize unknown exception"); + ++errorCount; } const std::string accountOrder = preferences.getAccountOrder();