exception handling
This commit is contained in:
parent
31f7a47889
commit
a251cf6abf
@ -602,7 +602,7 @@ auto sia_provider::read_file_bytes(const std::string &api_path,
|
|||||||
|
|
||||||
return res;
|
return res;
|
||||||
} catch (const std::exception &e) {
|
} catch (const std::exception &e) {
|
||||||
utils::error::raise_api_path_error(function_name, e, api_path,
|
utils::error::raise_api_path_error(function_name, api_path, e,
|
||||||
"failed to read file bytes");
|
"failed to read file bytes");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user