Skip to content

Handle promises in the error handler with the same logic of normal handlers#1134

Merged
mcollina merged 1 commit intomasterfrom
fix-1131
Sep 4, 2018
Merged

Handle promises in the error handler with the same logic of normal handlers#1134
mcollina merged 1 commit intomasterfrom
fix-1131

Conversation

@mcollina
Copy link
Copy Markdown
Member

@mcollina mcollina commented Sep 4, 2018

Turns out we were not really handling promises well in the error handler. This reuse the same logic of the main handlers. This problems does not apply to the 404 because they go through the normal path anyway.

Checklist

  • run npm run test and npm run benchmark
  • tests and/or benchmarks are included
  • commit message and code follows Code of conduct

Copy link
Copy Markdown
Member

@delvedor delvedor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delvedor delvedor added the internals Change that won't impact the surface API. label Sep 4, 2018
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

internals Change that won't impact the surface API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants