From 1fba3e129fc0ea02b580d09fecd5aa6a654cf853 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 24 Apr 2025 07:09:27 -0500 Subject: [PATCH] [ui] Implement provider test button #49 --- repertory/repertory/src/ui/handlers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/repertory/repertory/src/ui/handlers.cpp b/repertory/repertory/src/ui/handlers.cpp index 40dbd9a7..4e9412da 100644 --- a/repertory/repertory/src/ui/handlers.cpp +++ b/repertory/repertory/src/ui/handlers.cpp @@ -37,6 +37,7 @@ #include #include #include +#include namespace { [[nodiscard]] auto decrypt(std::string_view data, std::string_view password) @@ -556,7 +557,7 @@ void handlers::handle_get_test(const httplib::Request &req, } utils::error::raise_error( - function_name, e, + function_name, utils::get_last_error_code(); fmt::format("failed to remove data directory|{}", data_dir)); }