Skip to content

Commit

Permalink
Merge pull request #217 from cnstlungu/patch-1
Browse files Browse the repository at this point in the history
Update sqlalchemy_logger.rst
  • Loading branch information
mmerickel committed Oct 10, 2018
2 parents 71c3aaf + b726440 commit bffee31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/logging/sqlalchemy_logger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Let's subclass Handler now (put this in ``myapp.handlers``)::
trace = None
exc = record.__dict__['exc_info']
if exc:
trace = traceback.format_exc(exc)
trace = traceback.format_exc()
log = Log(
logger=record.__dict__['name'],
level=record.__dict__['levelname'],
Expand Down

0 comments on commit bffee31

Please sign in to comment.