We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5479de4 commit 1048e58Copy full SHA for 1048e58
libs/openFrameworks/utils/ofFileUtils.cpp
@@ -2077,7 +2077,9 @@ std::string ofPathToString(const of::filesystem::path & path) {
2077
try {
2078
return path.string();
2079
} catch(std::filesystem::filesystem_error & e) {
2080
- ofLogError("ofFileUtils") << "ofPathToString: error converting fs::path to string " << e.what();
+ ofLogError("ofFileUtils") << "ofPathToString: filesystem error converting fs::path to string " << e.what();
2081
+ } catch (std::system_error& e) {
2082
+ ofLogError("ofFileUtils") << "ofPathToString: system error converting fs::path to string " << e.what();
2083
}
2084
return {};
2085
0 commit comments