forked from lix-project/lix
Add TODO comment for include try/catch
This commit is contained in:
parent
1d28d613b1
commit
e4cbdd26e0
1 changed files with 3 additions and 1 deletions
|
@ -125,7 +125,9 @@ static void applyConfigInner(const std::string & contents, const std::string & p
|
||||||
try {
|
try {
|
||||||
std::string includedContents = readFile(path);
|
std::string includedContents = readFile(path);
|
||||||
applyConfigInner(includedContents, p, parsedContents);
|
applyConfigInner(includedContents, p, parsedContents);
|
||||||
} catch (SysError &) { }
|
} catch (SysError &) {
|
||||||
|
// TODO: Do we actually want to ignore this? Or is it better to fail?
|
||||||
|
}
|
||||||
} else if (!ignoreMissing) {
|
} else if (!ignoreMissing) {
|
||||||
throw Error("file '%1%' included from '%2%' not found", p, path);
|
throw Error("file '%1%' included from '%2%' not found", p, path);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue