Skip to content
This repository has been archived by the owner on Mar 16, 2021. It is now read-only.

Added missed argument #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added missed argument #56

wants to merge 1 commit into from

Conversation

andreaubbiali
Copy link
Contributor

Added missed argument

Copy link
Member

@sgotti sgotti left a comment

Choose a reason for hiding this comment

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

@andreaubbiali Thanks for the PR. See the comments.

@@ -275,7 +275,7 @@ func (s *MemberRequestSaga) HandleEvent(event *eventstore.StoredEvent) ([]ep.Eve

}

if err := s.completeMemberChange(correlationID, causationID, memberChangeID, fmt.Sprintf("error updating member: %v, err")); err != nil {
if err := s.completeMemberChange(correlationID, causationID, memberChangeID, fmt.Sprintf("error updating member: %v, err", memberChangeID)); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

The missing argument is "err" due to wrong closing quote position. Should be something like:

fmt.Sprintf("error updating member: %v", err)

If instead you also wanted to log the `memberChangeID` then please do this in another PR.

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