diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp index 90b34f17..084112d6 100644 --- a/src/wallet/plain_wallet_api.cpp +++ b/src/wallet/plain_wallet_api.cpp @@ -332,7 +332,7 @@ namespace plain_wallet boost::filesystem::create_directory(full_target_path, ec); if (ec) { - LOG_ERROR("Failed to create target directory"); + LOG_ERROR("Failed to create target directory(" << full_target_path << "):" << ec.message()); epee::json_rpc::response ok_response = AUTO_VAL_INIT(ok_response); ok_response.result.return_code = API_RETURN_CODE_FAIL; return epee::serialization::store_t_to_json(ok_response);