Skip to content

Commit

Permalink
reduce logging level of evaluation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Jul 28, 2018
1 parent ecb8c26 commit 669b1f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nix/search.cc
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ struct CmdSearch : SourceExprCommand, MixJSON
} catch (Error & e) {
if (!toplevel) {
e.addPrefix(fmt("While evaluating the attribute '%s':\n", attrPath));
printError("warning: %s", e.what());
debug("warning: %s", e.what());
// don't throw, try other attrs
}
}
Expand Down

0 comments on commit 669b1f3

Please sign in to comment.