mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
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(),
|
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