From 8638de87f90318266e73efe0c710847a2e7eed6e Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 5 Mar 2025 14:10:09 -0600 Subject: [PATCH] save on error --- repertory/repertory/src/ui/mgmt_app_config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/repertory/repertory/src/ui/mgmt_app_config.cpp b/repertory/repertory/src/ui/mgmt_app_config.cpp index f1e871ba..b5e7eb05 100644 --- a/repertory/repertory/src/ui/mgmt_app_config.cpp +++ b/repertory/repertory/src/ui/mgmt_app_config.cpp @@ -87,6 +87,7 @@ mgmt_app_config::mgmt_app_config() { utils::error::raise_error( function_name, utils::get_last_error_code(), fmt::format("failed to read file|{}", config_file)); + save(); } catch (const std::exception &ex) { utils::error::raise_error( function_name, ex, fmt::format("failed to read file|{}", config_file));