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

fix: change property of handleRejections #1779

Merged
merged 1 commit into from
Apr 30, 2020

Conversation

YuriHeiko
Copy link
Contributor

I think the changes should be applied to make rejection handling works.
The current version does pass the tests since the issue arises later when rejection-handler.js => _getRejectionHandlers() is invoked. This method filters all transports to find ones with handleRejections property which is never assigned.

change property handleExeptions with handleRejections to make it works
Copy link
Contributor

@DABH DABH left a comment

Choose a reason for hiding this comment

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

Yeah, that does look like a typo. Thank you!

@DABH DABH merged commit df25fa2 into winstonjs:master Apr 30, 2020
Mizumaki pushed a commit to Mizumaki/winston that referenced this pull request Jun 11, 2020
change property handleExeptions with handleRejections to make it works
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.

2 participants