Tests for error simplification

This commit is contained in:
Peter Eckersley
2015-11-28 17:58:28 -08:00
parent 29c3cc8647
commit 48104cded9
2 changed files with 20 additions and 2 deletions
+1
View File
@@ -1148,6 +1148,7 @@ def _handle_exception(exc_type, exc_value, trace, args):
if issubclass(exc_type, errors.Error):
sys.exit(exc_value)
else:
# Here we're passing a client or ACME error out to the client at the shell
# Tell the user a bit about what happened, without overwhelming
# them with a full traceback
err = traceback.format_exception_only(exc_type, exc_value)[0]