mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
traceback actually provides that \n
This commit is contained in:
+1
-1
@@ -850,7 +850,7 @@ def _handle_exception(exc_type, exc_value, trace, args):
|
|||||||
# them with a full traceback
|
# them with a full traceback
|
||||||
msg = "An unexpected error occurred.\n"
|
msg = "An unexpected error occurred.\n"
|
||||||
msg += traceback.format_exception_only(exc_type,exc_value)[0]
|
msg += traceback.format_exception_only(exc_type,exc_value)[0]
|
||||||
msg += "\nPlease see the "
|
msg += "Please see the "
|
||||||
if args is None:
|
if args is None:
|
||||||
msg += "logfile '{0}' for more details.".format(logfile)
|
msg += "logfile '{0}' for more details.".format(logfile)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user