exception handling
This commit is contained in:
parent
2446f024ef
commit
23de2af98d
@ -727,8 +727,8 @@ 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, fmt::format("{}|{}", from_api_path, to_api_path),
|
||||
"failed to rename file");
|
||||
function_name, fmt::format("{}|{}", from_api_path, to_api_path), e,
|
||||
fmt::format("failed to rename file file|response|{}", error_data));
|
||||
}
|
||||
|
||||
return api_error::error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user