exception handling
This commit is contained in:
parent
23de2af98d
commit
31f7a47889
@ -728,7 +728,7 @@ auto sia_provider::rename_file(const std::string &from_api_path,
|
|||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
utils::error::raise_api_path_error(
|
utils::error::raise_api_path_error(
|
||||||
function_name, fmt::format("{}|{}", from_api_path, to_api_path), e,
|
function_name, fmt::format("{}|{}", from_api_path, to_api_path), e,
|
||||||
fmt::format("failed to rename file file|response|{}", error_data));
|
"failed to rename file file|response");
|
||||||
}
|
}
|
||||||
|
|
||||||
return api_error::error;
|
return api_error::error;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user