diff --git a/repertory/librepertory/include/app_config.hpp b/repertory/librepertory/include/app_config.hpp index 08953c9f..17e1ccb2 100644 --- a/repertory/librepertory/include/app_config.hpp +++ b/repertory/librepertory/include/app_config.hpp @@ -118,7 +118,7 @@ private: } else { success = false; } - } catch (const json::exception &ex) { + } catch (const std::exception &ex) { utils::error::raise_error(function_name, ex, "exception occurred"); success = false; ret = false; diff --git a/repertory/librepertory/src/app_config.cpp b/repertory/librepertory/src/app_config.cpp index d7610847..6b2934d1 100644 --- a/repertory/librepertory/src/app_config.cpp +++ b/repertory/librepertory/src/app_config.cpp @@ -230,6 +230,7 @@ auto app_config::get_json() const -> json { {"OnlineCheckRetrySeconds", online_check_retry_secs_}, {"OrphanedFileRetentionDays", orphaned_file_retention_days_}, {"PreferredDownloadType", preferred_download_type_}, + {"RemoteConfig", remote_config_}, { "RemoteMount", {