Skip to content

Re-position RescuedExceptionInterceptor middleware#1564

Merged
st0012 merged 1 commit intomasterfrom
fix-#1563
Sep 8, 2021
Merged

Re-position RescuedExceptionInterceptor middleware#1564
st0012 merged 1 commit intomasterfrom
fix-#1563

Conversation

@st0012
Copy link
Copy Markdown
Contributor

@st0012 st0012 commented Sep 3, 2021

Currently, exceptions raised by middlewares placed between RescuedExceptionInterceptor and DebugExceptions are rescued DebugExceptions without anyway to be reported to the CaptureExceptions middleware.

By placing RescuedExceptionInterceptor closer to DebugExceptions, it should avoid similar issues.

Closes #1563

Currently, exceptions raised by middlewares placed between
RescuedExceptionInterceptor and DebugExceptions are rescued
DebugExceptions without anyway to be reported to the CaptureExceptions
middleware.

By placing RescuedExceptionInterceptor closer to DebugExceptions, it
should avoid similar issues.
@st0012 st0012 added this to the 4.8.0 milestone Sep 3, 2021
@st0012 st0012 self-assigned this Sep 3, 2021
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Sep 3, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.29%. Comparing base (d475015) to head (19ba4e4).
Report is 720 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1564      +/-   ##
==========================================
+ Coverage   97.92%   98.29%   +0.37%     
==========================================
  Files         222      127      -95     
  Lines       10870     7034    -3836     
==========================================
- Hits        10644     6914    -3730     
+ Misses        226      120     -106     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@st0012 st0012 merged commit 5e18f60 into master Sep 8, 2021
@st0012 st0012 deleted the fix-#1563 branch September 8, 2021 03:18
@st0012 st0012 modified the milestones: 4.8.0, 4.7.2 Sep 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing or underreported errors for ActiveRecord::ConnectionTimeoutError

2 participants