-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
select: fix processing storage error for tuple-merger
Storage select/pairs method responds with `nil, err` if something went wrong. tuple-merger implementation of select/pairs do not support this type of response, resulting in fail while trying to subscribe nil value. The patch fixes this behavior by extracting second return value in case of `nil, err` and wrapping it with errors wrapper to restore errors metatable. Closes #271
- Loading branch information
1 parent
249690a
commit c8d496b
Showing
3 changed files
with
51 additions
and
3 deletions.
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