NixOS / nixops

NixOps is a tool for deploying to NixOS machines in a network or cloud.
https://nixos.org/nixops
GNU Lesser General Public License v3.0
1.82k stars 363 forks source link

Too much verbosity #1530

Open yajo opened 2 years ago

yajo commented 2 years ago

Running nixos deploy without --show-trace shows a trace if deployment has some error. Always. Possibly coming from here: https://github.com/NixOS/nixops/blob/bd6b955053b1bc1893c10e0a559be852a71e7f80/nixops/evaluation.py#L101

SamirPS commented 2 years ago

it's a bad thing to have a trace if deployment failed ?

yajo commented 2 years ago

It is, if --show-trace was not added by the user. Usually a shorter message is more helpful if it shows the important source of the error.