Skip to content

Commit

Permalink
Pymacs.py.in: Complement to commit abb7dbb
Browse files Browse the repository at this point in the history
Reported by Leo Liu
  • Loading branch information
pinard committed Mar 26, 2012
1 parent 2a60689 commit 79effc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Pymacs.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ class Protocol:
value = traceback.format_exception_only(sys.exc_type,
sys.exc_value)
value = ''.join(value).rstrip()
else:
value = traceback.format_exc()
if not done:
fragments = []
print_lisp(value, fragments.append, True)
Expand Down

0 comments on commit 79effc6

Please sign in to comment.