Skip to content

Commit

Permalink
Fixed python2/3 CString import issue and added back exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
John Furr committed Oct 25, 2016
1 parent b5c68b5 commit 5c3b6b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mongolog/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,7 @@ def formatException(ei):
This default implementation just uses
traceback.print_exception()
"""
# try:
sio = StringIO()
# except Exception:
# sio = StringIO()

traceback.print_exception(ei[0], ei[1], ei[2], None, sio)
s = sio.getvalue()
Expand Down

0 comments on commit 5c3b6b8

Please sign in to comment.