Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1.0] Post-Execution-Functions will now be executed, even if the handler failed #333

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

maaaNu
Copy link
Collaborator

@maaaNu maaaNu commented Sep 19, 2023

  • Post-Execution-Functions will now be executed, even if the handler failed
  • The middlewareWithErrorHandling was removed. To regain the same functionality you can now pass an option-flag, called disableErrorHandling

@maaaNu maaaNu force-pushed the feature/execute-post-function-if-handler-fails branch 2 times, most recently from 650f3f0 to 771e8d3 Compare September 19, 2023 17:15
@andiwi
Copy link

andiwi commented Oct 19, 2023

Any updates on when this PR will be reviewed? We would like to use this in our application.

src/error/errorHandler.ts Show resolved Hide resolved
src/middleware.ts Outdated Show resolved Hide resolved
+ Post-Execution-Functions will now be executed, even if the handler failed
- The middlewareWithErrorHandling was removed. To regain the same functionality you can now pass an option-flag, called disableErrorHandling
@maaaNu maaaNu force-pushed the feature/execute-post-function-if-handler-fails branch from 771e8d3 to e831dc7 Compare October 20, 2023 17:02
@maaaNu maaaNu merged commit 22ccdda into master Oct 21, 2023
5 checks passed
@maaaNu maaaNu deleted the feature/execute-post-function-if-handler-fails branch April 9, 2024 17:28
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