From 29c0a98f0102fc832a0c7d7e7aedaafd42ecdfa6 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 11 Dec 2024 14:58:42 -0600 Subject: [PATCH] refactor --- repertory/librepertory/src/file_manager/open_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repertory/librepertory/src/file_manager/open_file.cpp b/repertory/librepertory/src/file_manager/open_file.cpp index e67f1b26..e019cbef 100644 --- a/repertory/librepertory/src/file_manager/open_file.cpp +++ b/repertory/librepertory/src/file_manager/open_file.cpp @@ -485,7 +485,7 @@ auto open_file::close() -> bool { if (not utils::file::file(fsi_.source_path).remove()) { utils::error::raise_api_path_error( function_name, get_api_path(), fsi_.source_path, - utils::get_last_error_code(), "failed to delete file"); + utils::get_last_error_code(), "failed to delete source file"); } auto parent = utils::path::get_parent_path(fsi_.source_path);