forked from lix-project/lix
Merge "repl: do not crash when tab-completing import errors" into main
This commit is contained in:
commit
79121e0c44
|
@ -376,6 +376,9 @@ StringSet NixRepl::completePrefix(const std::string & prefix)
|
|||
// Quietly ignore evaluation errors.
|
||||
} catch (BadURL & e) {
|
||||
// Quietly ignore BadURL flake-related errors.
|
||||
} catch (SysError & e) {
|
||||
// Quietly ignore system errors which can for example be raised by
|
||||
// a non-existent file being `import`-ed.
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue