We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3f32a6 commit 893f271Copy full SHA for 893f271
1 file changed
util/src/parserutil.cpp
@@ -50,9 +50,17 @@ bool iterateDirectoryRecursive(
50
51
fs::path p(path_);
52
53
- if (!fs::exists(p))
+ try
54
{
55
- LOG(warning) << "Not found: " << p;
+ if (!fs::exists(p))
56
+ {
57
+ LOG(warning) << "Not found: " << p;
58
+ return true;
59
+ }
60
61
+ catch (const std::exception& ex_)
62
63
+ LOG(warning) << "Parser threw an exception: " << ex_.what();
64
return true;
65
}
66
0 commit comments