Skip to content

Conversation

@cbeanLeadr
Copy link

Currently, it's possible for requests that end to send a null error on the error callback if data isn't written to the error as intended. This can cause consumers of the error callback to get tripped up if they're expecting an Error and receive null instead. To mitigate this, we should be returning an unknown Error instead as a fallback. Without this, null can cause system errors and crashes if not handled properly.

@cbeanLeadr
Copy link
Author

Hi @brettlangdon, following up here to get some eyes on this 👍

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.

1 participant