Skip to content

Conversation

@joshuawscott
Copy link
Member

This changes the state-returning private functions to return {:ok, state}. This will allow us to catch and handle errors better moving forward, and also makes it a little easier to keep track of what the private functions are doing.

This changes most of the state-altering private functions in Manager to
return `{:ok, state}` so that we can catch and report errors a little
more easily when they happen
@joshuawscott joshuawscott requested a review from dantswain May 16, 2018 20:48
Copy link
Collaborator

@dantswain dantswain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 nice!

@joshuawscott joshuawscott merged commit 44d6f86 into master May 17, 2018
@joshuawscott joshuawscott deleted the ok_tuples_in_manager branch May 17, 2018 14:44
robotarmy pushed a commit to RAM9/kafka_ex that referenced this pull request Apr 7, 2025
fix some details in KafkaEx.GenConsumer.Manager
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.

3 participants