diff --git a/src/nix/flake.cc b/src/nix/flake.cc index 998a36bcc..01f5ce120 100644 --- a/src/nix/flake.cc +++ b/src/nix/flake.cc @@ -367,7 +367,7 @@ struct CmdFlakeCheck : FlakeCommand throw; } catch (Error & e) { if (settings.keepGoing) { - ignoreExceptionExceptInterrupt(); + logError(e.info()); hasErrors = true; } else throw;