Skip to content

Fix for API exception_handler - #12604

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:sentry-error
Aug 10, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:sentry-error

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • Only log unhandled exceptions to sentry.io
  • Check for valid handling first
  • Report second

- Only log unhandled exceptions to sentry.io
- Check for valid handling first
- Report second
@SchrodingersGat SchrodingersGat added this to the 1.6.0 milestone Aug 10, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x labels Aug 10, 2026
@netlify

netlify Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit f41d5aa
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a79ba2c845026000879c594

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.31%. Comparing base (edae156) to head (f41d5aa).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12604      +/-   ##
==========================================
- Coverage   86.77%   86.31%   -0.46%     
==========================================
  Files        1447     1447              
  Lines       96720    97588     +868     
  Branches    11263    11263              
==========================================
+ Hits        83926    84235     +309     
- Misses      12730    13289     +559     
  Partials       64       64              
Flag Coverage Δ
backend 90.76% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.67% <ø> (-0.47%) ⬇️
Backend General 93.53% <ø> (ø)
Frontend 79.71% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 1020ed3 into inventree:master Aug 10, 2026
45 checks passed
@SchrodingersGat
SchrodingersGat deleted the sentry-error branch August 10, 2026 13:23
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.5.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Aug 10, 2026
- Only log unhandled exceptions to sentry.io
- Check for valid handling first
- Report second

(cherry picked from commit 1020ed3)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action backport-to-1.5.x bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant