diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-04-13 16:38:15 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-04-13 16:38:15 -0700 |
commit | 59a3b8dc67fcfd7f82de1fbd6fe6a1fafb66b115 (patch) | |
tree | 2e44e143e44fefa443d9968882b482276bb5f7d6 /bin | |
parent | 980c1f0e470e2c0ae21c4f253995a117486ef067 (diff) | |
download | spack-59a3b8dc67fcfd7f82de1fbd6fe6a1fafb66b115.tar.gz spack-59a3b8dc67fcfd7f82de1fbd6fe6a1fafb66b115.tar.bz2 spack-59a3b8dc67fcfd7f82de1fbd6fe6a1fafb66b115.tar.xz spack-59a3b8dc67fcfd7f82de1fbd6fe6a1fafb66b115.zip |
Make SSL verification failures recommend spack -k
- Adds optional long message to SpackError
- tty now wraps long message text.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/spack | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -96,8 +96,10 @@ except SpackError, e: if spack.debug: # In debug mode, raise with a full stack trace. raise + elif e.long_message: + tty.die(e.message, e.long_message) else: - # Otherwise print a nice simple message. tty.die(e.message) + except KeyboardInterrupt: tty.die("Got a keyboard interrupt from the user.") |