From dce0f6bf16762284ccf3e95083c11fa8df313c29 Mon Sep 17 00:00:00 2001 From: Peter Eckersley Date: Sat, 28 Nov 2015 02:09:12 -0800 Subject: [PATCH] Comment string manipulation --- letsencrypt/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/letsencrypt/cli.py b/letsencrypt/cli.py index 729979f39..566ed42c5 100644 --- a/letsencrypt/cli.py +++ b/letsencrypt/cli.py @@ -1151,6 +1151,7 @@ def _handle_exception(exc_type, exc_value, trace, args): # 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] + # prune ACME error code, we have a human description _code, _sep, err = err.partition(":: ") msg = "An unexpected error occurred:\n" + err + "Please see the " if args is None: