Skip to content

Conversation

@TimPansino
Copy link
Contributor

@TimPansino TimPansino commented Nov 4, 2025

Overview

  • Add ability to supply an instance of BaseException as an argument to notice_error and have it be unpacked into an exception tuple before processing.
  • Add tests to ensure the behavior reports the correct exception even when sys.exc_info() would return a different one.

Related Issues

Rework of #1564

@TimPansino TimPansino requested a review from a team as a code owner November 4, 2025 00:33
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 7 0 0 0.94s
✅ MARKDOWN markdownlint 7 0 0 0 1.36s
✅ PYTHON ruff 948 0 0 0 1.04s
✅ PYTHON ruff-format 948 0 0 0 0.33s
✅ YAML prettier 15 0 0 0 1.44s
✅ YAML v8r 15 0 0 6.15s
✅ YAML yamllint 15 0 0 0.71s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.77%. Comparing base (81d01e1) to head (8ab4ce9).

Files with missing lines Patch % Lines
newrelic/core/stats_engine.py 20.00% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1571      +/-   ##
==========================================
- Coverage   81.77%   81.77%   -0.01%     
==========================================
  Files         207      207              
  Lines       23953    23957       +4     
  Branches     3799     3801       +2     
==========================================
+ Hits        19588    19590       +2     
- Misses       3098     3099       +1     
- Partials     1267     1268       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants