Skip to content

Conversation

ArtemHoruzhenko
Copy link

@ArtemHoruzhenko ArtemHoruzhenko commented Jul 7, 2025

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

If error happens in upstream middleware (e.g. bodyParser throws 413 error) for excluded routes 404 error will be generated which is confusing.

Issue Number: 1729

What is the new behavior?

Based on commit history found that it is ok to throw original error in case when it is HttpException instance and have "route exclusion" check below

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Addressing issue #1729

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.

1 participant