diff --git a/support/src/utils/file_smb_file.cpp b/support/src/utils/file_smb_file.cpp index 00b2f310..76726157 100644 --- a/support/src/utils/file_smb_file.cpp +++ b/support/src/utils/file_smb_file.cpp @@ -124,7 +124,7 @@ auto smb_file::get_time(smb_session *session, smb_tid tid, std::string path, throw utils::error::create_exception({ function_name, "session not found", - path_, + path, }); } @@ -227,7 +227,8 @@ auto smb_file::move_to(std::string_view new_path) -> bool { throw utils::error::create_exception({ function_name, "failed to move file", - path_std::to_string(res), + path_, + std::to_string(res), from_path, to_path, }); @@ -267,7 +268,8 @@ auto smb_file::open(bool read_only) -> bool { throw utils::error::create_exception({ function_name, "failed to connect to share", - path_std::to_string(res), + path_, + std::to_string(res), share_name_, }); } @@ -280,7 +282,8 @@ auto smb_file::open(bool read_only) -> bool { function_name, "failed to open file", utils::string::from_bool(read_only), - path_std::to_string(res), + path_, + std::to_string(res), path_, rel_path, });