mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
convert some printError calls to logError
This commit is contained in:
parent
4b99c09f5c
commit
ab6f0b9641
19 changed files with 195 additions and 70 deletions
|
@ -368,6 +368,8 @@ static void _main(int argc, char * * argv)
|
|||
shell = drv->queryOutPath() + "/bin/bash";
|
||||
|
||||
} catch (Error & e) {
|
||||
// TODO: append error msg
|
||||
logError(e.info());
|
||||
printError("warning: %s; will use bash from your environment", e.what());
|
||||
shell = "bash";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue