-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apollo-server-core: properly re-throw serverWillStop exceptions
If a `serverWillStop` callback invoked by `server.stop()` throws (or `gateway.stop()`), then `server.stop()` now correctly throws that error instead of returning. This was a regression introduced in Apollo Server v2.22.0. (Between v2.22 and this release, a second subsequent or concurrent call to `server.stop()` would correctly throw the error, but not the original call.) Fixes #5649.
- Loading branch information
Showing
2 changed files
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters