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

Change callback format to properly support errors #2285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nullromo
Copy link

Summary

Previously, it was possible for Winston query callbacks to get called with error as a nullish value while results was an instance of Error. This fix should properly pass the error through to the user-level callback.

Reference

Issue #2241

@maverick1872 maverick1872 self-requested a review February 28, 2023 19:04
@maverick1872 maverick1872 linked an issue Mar 26, 2023 that may be closed by this pull request
@nullromo
Copy link
Author

@maverick1872

@maverick1872
Copy link
Member

@nullromo Thanks for the ping. Time's been recently consumed with a cross country move. I'll try to get to this, this coming week if that's alright?

@maverick1872 maverick1872 self-assigned this Jul 22, 2023
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.

[Bug]: Null bytes in log files
2 participants