Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Conversation

pbrisbin
Copy link
Contributor

Recently, the WithErrorHandling middleware was changed to not return a hash
of error information. This causes a bug since our consumer expects invocations
to return either a Hash or nil.

This patch updates the tests to assert that and fixes the bug.

Recently, the `WithErrorHandling` middleware was changed to not return a hash of
error information. This causes a bug since our consumer expects invocations to
return either a Hash or `nil`.

This patch updates the tests to assert that and fixes the bug.
@pbrisbin
Copy link
Contributor Author

Without this patch, the return value from an invocation in the case of an error would be the return value of Logger#error which is true, ultimately causing these.

brynary added a commit that referenced this pull request Jul 15, 2014
@brynary brynary merged commit e70eaf1 into master Jul 15, 2014
@brynary brynary deleted the pb-fix-error-handling branch July 15, 2014 20:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants