-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tolerate zeroReturnError in closed/unwrapped (#323)
Motivation: In some rare cases we've seen production applications crash due to us getting a zeroReturnError in either closed or perhaps unwrapped. This is pretty hard to get to trigger in realistic situations, but I've found a contrived-but-possible way to hit it in tests. In both of these cases we are able to simply ignore the error and move on. Modifications: - Added a test to replicate the issue - Tolerate .unwrapped and .closed on zeroReturnError. Result: Fewer weird crashes
- Loading branch information
Showing
3 changed files
with
84 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
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