Tweak get_stack_trace() API - #1637
Conversation
|
I'm not completely sure if |
|
How about Does this make sense? |
matthiask
left a comment
There was a problem hiding this comment.
Yes, makes sense. Thanks for the explanation!
I think the change is fine as-is.
Rename the `depth` argument to `skip` and change the semantics so that now `skip=0` has the same meaning as `depth=1`.
Ensure that stack traces do not include any of the cache or SQL panel tracking infrastructure even if HIDE_IN_STACKTRACES is empty.
bbb41f2 to
7afb0dd
Compare
Replace the
depthargument toget_stack_trace()with a more intuitiveskipargument. Update the cache and SQL panels to supply askipargument toget_stack_trace()to ensure that the stack traces are clean even whenHIDE_IN_STACKTRACESis empty.