diff options
author | Ben Burdette <bburdette@gmail.com> | 2020-04-30 16:31:47 -0600 |
---|---|---|
committer | Ben Burdette <bburdette@gmail.com> | 2020-04-30 16:31:47 -0600 |
commit | f5d3215c8740feec8053a697eca04c12eb71191b (patch) | |
tree | 2049f541b33bdb9b72fde8302de0faf50811a5ad /src/nix/verify.cc | |
parent | 171b4ce85c491563004ad6b74377a8cb70a7d06c (diff) |
logError
Diffstat (limited to 'src/nix/verify.cc')
-rw-r--r-- | src/nix/verify.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/verify.cc b/src/nix/verify.cc index 9b0658803..6e043dc2d 100644 --- a/src/nix/verify.cc +++ b/src/nix/verify.cc @@ -137,7 +137,7 @@ struct CmdVerify : StorePathsCommand doSigs(info2->sigs); } catch (InvalidPath &) { } catch (Error & e) { - printError(format(ANSI_RED "error:" ANSI_NORMAL " %s") % e.what()); + logError(e.info()); } } @@ -156,7 +156,7 @@ struct CmdVerify : StorePathsCommand done++; } catch (Error & e) { - printError(format(ANSI_RED "error:" ANSI_NORMAL " %s") % e.what()); + logError(e.info()); failed++; } |