Permalink
Browse files

Fix SyntaxError missing exception part

  • Loading branch information...
paradoxxxzero authored and Delgan committed Oct 19, 2017
1 parent f926bcc commit ab227a9d96c4feac633db2b51bf277e33ef1a4c1
Showing with 1 addition and 1 deletion.
  1. +1 −1 better_exceptions/formatter.py
@@ -295,6 +295,6 @@ def format_exception(self, exc, value, tb):
value.args = (colored_source,)
title = traceback.format_exception_only(exc, value)
full_trace = u'Traceback (most recent call last):\n{}{}\n'.format(formatted, title[0].strip())
full_trace = u'Traceback (most recent call last):\n{}{}\n'.format(formatted, ''.join(title).strip())
return full_trace

0 comments on commit ab227a9

Please sign in to comment.