diff --git a/repertory/librepertory/src/file_manager/file_manager.cpp b/repertory/librepertory/src/file_manager/file_manager.cpp index bb82b183..4fd39257 100644 --- a/repertory/librepertory/src/file_manager/file_manager.cpp +++ b/repertory/librepertory/src/file_manager/file_manager.cpp @@ -565,6 +565,7 @@ auto file_manager::remove_file(const std::string &api_path) -> api_error { .go(); if (not result.ok()) { utils::error::raise_api_path_error(function_name, api_path, + api_error::error, "failed to remove from resume table"); } @@ -618,6 +619,7 @@ void file_manager::remove_upload(const std::string &api_path, bool no_lock) { .go(); if (not result.ok()) { utils::error::raise_api_path_error(function_name, api_path, + api_error::error, "failed to remove from upload table"); } @@ -627,7 +629,8 @@ void file_manager::remove_upload(const std::string &api_path, bool no_lock) { .go(); if (not result.ok()) { utils::error::raise_api_path_error( - function_name, api_path, "failed to remove from upload_active table"); + function_name, api_path, api_error::error, + "failed to remove from upload_active table"); } if (upload_lookup_.find(api_path) != upload_lookup_.end()) { @@ -996,6 +999,7 @@ void file_manager::swap_renamed_items(std::string from_api_path, .go(); if (not result.ok()) { utils::error::raise_api_path_error(function_name, to_api_path, + api_error::error, "failed to update resume table"); } }