Skip to content

Conversation

@praasz
Copy link
Contributor

@praasz praasz commented Dec 8, 2025

Details:

  • The path can be created from std::string which may contain the Unicode characters. after conversion from string to wstring the path string may return exception that conversion is not possible (on Windows). Add stringify function to hide conversion in error messages. Without the explicit function call may be required in some cases.

Tickets:

  • N/A

@github-actions github-actions bot added category: inference OpenVINO Runtime library - Inference category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings labels Dec 8, 2025
@praasz praasz marked this pull request as ready for review December 8, 2025 15:06
@praasz praasz requested review from a team as code owners December 8, 2025 15:06
@praasz praasz added this to the 2026.0 milestone Dec 9, 2025
std::stringstream error;
ov::write_all_to_stream(error, "Test read file: ", path, ", because: ", description);

auto s = ov::stringify(description);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is s used somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Core OpenVINO Core (aka ngraph) category: CPP API OpenVINO CPP API bindings category: inference OpenVINO Runtime library - Inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants