Skip to content

Commit

Permalink
- Log an exception body to the debug toolbar logger when an exception
Browse files Browse the repository at this point in the history
  happens.
  • Loading branch information
mcdonc committed Sep 5, 2011
1 parent 257d0f4 commit 29927fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.txt
@@ -1,3 +1,9 @@
Next release
------------

- Log an exception body to the debug toolbar logger when an exception
happens.

0.9.1 (2011-08-30)
------------------

Expand Down
1 change: 1 addition & 0 deletions pyramid_debugtoolbar/toolbar.py
Expand Up @@ -106,6 +106,7 @@ def toolbar_tween(request):
try:
response = _handler(request)
except Exception:
logger.exception(request.url)
if exc_history is not None:
tb = get_traceback(info=sys.exc_info(),
skip=1,
Expand Down

0 comments on commit 29927fc

Please sign in to comment.