traceback actually provides that \n

This commit is contained in:
Peter Eckersley
2015-09-17 12:48:07 -07:00
parent 0e3eae153e
commit 7c67df1076
+1 -1
View File
@@ -850,7 +850,7 @@ def _handle_exception(exc_type, exc_value, trace, args):
# them with a full traceback
msg = "An unexpected error occurred.\n"
msg += traceback.format_exception_only(exc_type,exc_value)[0]
msg += "\nPlease see the "
msg += "Please see the "
if args is None:
msg += "logfile '{0}' for more details.".format(logfile)
else: