be less verbose in error cases
vanitasvitae opened this issue · comments
Originally posted by @dkg in pgpainless/pgpainless#331
when pgpainless-cli 1.3.7 produces an error, i see a lot of backtrace material (e.g. pgpainless/pgpainless#330). This is surely interesting for pgpainless development, but it's pretty noisy for regular users.
If a signature verification fails, as a user i want to see a concise description of the failure to stderr, without the backtrace.
Could you make it less verbose in the default case? (i certainly wouldn't object to some sort of generic --debug or --verbose flag for people who want the grubby details)
Fixed by introducing --stacktrace