forked from lix-project/lix
Swallow the error in a more idiomatic way
This commit is contained in:
parent
16f1720fd2
commit
60dea270d0
|
@ -258,9 +258,8 @@ void SourceExprCommand::completeInstallable(std::string_view prefix)
|
||||||
getDefaultFlakeAttrPaths(),
|
getDefaultFlakeAttrPaths(),
|
||||||
prefix);
|
prefix);
|
||||||
}
|
}
|
||||||
} catch (EvalError& e) {
|
} catch (EvalError&) {
|
||||||
// swallow eval error
|
// Don't want eval errors to mess-up with the completion engine, so let's just swallow them
|
||||||
(void)e;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue