diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2021-07-03 11:21:55 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2021-10-28 15:37:44 -0700 |
commit | 56ad721eb59756b0903beb033b91a5185647a71b (patch) | |
tree | 542046054a1021c9135caad2adc9e82e5c12e129 /.readthedocs.yml | |
parent | 732be7dec63642e38efe7f4de013e0ebc678260e (diff) | |
download | spack-56ad721eb59756b0903beb033b91a5185647a71b.tar.gz spack-56ad721eb59756b0903beb033b91a5185647a71b.tar.bz2 spack-56ad721eb59756b0903beb033b91a5185647a71b.tar.xz spack-56ad721eb59756b0903beb033b91a5185647a71b.zip |
errors: Rework error handling in `main()`
`main()` has grown, and in some cases code that can generate errors has gotten
outside the top-level try/catch in there. This means that simple errors like
config issues give you large stack traces, which shouldn't happen without
`--debug`.
- [x] Split `main()` into `main()` for the top-level error handling and
`_main()` with all logic.
Diffstat (limited to '.readthedocs.yml')
0 files changed, 0 insertions, 0 deletions