From 2446f024efdcb3a99d84e5ba598908010201d485 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Tue, 31 Dec 2024 13:39:29 -0600 Subject: [PATCH] exception handling --- repertory/librepertory/src/providers/sia/sia_provider.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repertory/librepertory/src/providers/sia/sia_provider.cpp b/repertory/librepertory/src/providers/sia/sia_provider.cpp index fcc18292..e1e6a6a7 100644 --- a/repertory/librepertory/src/providers/sia/sia_provider.cpp +++ b/repertory/librepertory/src/providers/sia/sia_provider.cpp @@ -726,8 +726,9 @@ auto sia_provider::rename_file(const std::string &from_api_path, return get_db().rename_item_meta(from_api_path, to_api_path); } catch (const std::exception &e) { - utils::error::raise_api_path_error(function_name, e, api_path, - "failed to rename file"); + utils::error::raise_api_path_error( + function_name, e, fmt::format("{}|{}", from_api_path, to_api_path), + "failed to rename file"); } return api_error::error;