mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
comments and cleanup
This commit is contained in:
parent
70bcb39d3f
commit
9159dfe3d8
9 changed files with 7 additions and 19 deletions
|
@ -325,7 +325,6 @@ int handleExceptions(const string & programName, std::function<void()> fun)
|
|||
} catch (BaseError & e) {
|
||||
logger->setShowTrace(settings.showTrace);
|
||||
logError(e.info());
|
||||
// TODO fix to detect non-empty trace here.
|
||||
if (e.hasTrace() && !settings.showTrace)
|
||||
printError("(use '--show-trace' to show detailed location information)");
|
||||
return e.status;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue