From 890b3e12dc309e584a57f20a58a36fe3f0bedd2c Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 19 Dec 2024 09:56:12 -0600 Subject: [PATCH] refactor remote mount --- repertory/librepertory/include/app_config.hpp | 2 +- repertory/librepertory/src/app_config.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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", {