Skip to content

Commit

Permalink
Fix SyntaxError missing exception part
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero authored and Delgan committed Oct 19, 2017
1 parent f926bcc commit ab227a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion better_exceptions/formatter.py
Expand Up @@ -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.