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