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.
2 parents 736cfd2 + 5ee78f4 commit 09cb31aCopy full SHA for 09cb31a
source/loader/ur_adapter_registry.hpp
@@ -33,7 +33,14 @@ class AdapterRegistry {
33
if (forceLoadedAdaptersOpt.has_value()) {
34
for (const auto &s : forceLoadedAdaptersOpt.value()) {
35
auto path = fs::path(s);
36
- if (fs::exists(path)) {
+ bool exists = false;
37
+ try {
38
+ exists = fs::exists(path);
39
+ } catch (std::exception &e) {
40
+ logger::error(e.what());
41
+ }
42
+
43
+ if (exists) {
44
adaptersLoadPaths.emplace_back(std::vector{path});
45
} else {
46
logger::warning(
0 commit comments