sentry-python
sentry-python copied to clipboard
Add missing stack trames
Add the stack frame that happened before the try/except block to the exception event that is sent to Sentry.
There should be options
- to enable/disable this (enabled by default)
- limit the maximum number of stack frames to the event
Fixes #3646
Codecov Report
Attention: Patch coverage is 94.44444% with 1 line in your changes missing coverage. Please review.
Project coverage is 79.95%. Comparing base (
e7130e8) to head (9f8bc18). Report is 7 commits behind head on master.
:white_check_mark: All tests successful. No failed tests found.
| Files with missing lines | Patch % | Lines |
|---|---|---|
| sentry_sdk/utils.py | 93.75% | 0 Missing and 1 partial :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## master #3673 +/- ##
==========================================
+ Coverage 79.94% 79.95% +0.01%
==========================================
Files 137 137
Lines 15421 15437 +16
Branches 2614 2619 +5
==========================================
+ Hits 12328 12343 +15
Misses 2223 2223
- Partials 870 871 +1
| Files with missing lines | Coverage Δ | |
|---|---|---|
| sentry_sdk/consts.py | 93.27% <100.00%> (+0.06%) |
:arrow_up: |
| sentry_sdk/utils.py | 83.96% <93.75%> (+0.15%) |
:arrow_up: |