diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-05-03 08:01:25 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-05-03 08:01:25 -0600 |
commit | ab6f0b9641ad6e9cef72f73d23e31138a97a225b (patch) | |
tree | c9c8a4e44a0657f6fb186e2401799846847673f5 /src/nix-build/nix-build.cc | |
parent | 4b99c09f5ccd385d2bf0c82a8c9a4ae1658abbe8 (diff) |
convert some printError calls to logError
Diffstat (limited to 'src/nix-build/nix-build.cc')
-rwxr-xr-x | src/nix-build/nix-build.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index 0a058a31b..401c8d340 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -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"; } |