Skip to content
Browse files

do not cut too much of the stack trace on pipeline

  • Loading branch information...
1 parent 614d18b commit d569e34ebaa775347e966797edccbfb0ee78b1e8 @clement committed May 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 redis_panel.py
View
2 redis_panel.py
@@ -53,7 +53,7 @@ def execute(self, *args, **kw):
debug_config = getattr(settings, 'DEBUG_TOOLBAR_CONFIG', {})
enable_stack = debug_config.get('ENABLE_STACKTRACES', True)
- trace = enable_stack and tidy_stacktrace(reversed(get_stack()))[:-2] or []
+ trace = enable_stack and tidy_stacktrace(reversed(get_stack()))[:-1] or []
transaction = {'calls': []}

0 comments on commit d569e34

Please sign in to comment.
Something went wrong with that request. Please try again.