Skip to content

Commit

Permalink
fix: 🐛 Fixes error message for doTransition to display the proper tra…
Browse files Browse the repository at this point in the history
…nsition state (#176)

Signed-off-by: Nathan Gotz <[email protected]>
  • Loading branch information
nlgotz authored Sep 15, 2023
1 parent 005d6c2 commit c00d602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notify/notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,6 @@ func (r *Receiver) doTransition(issueKey string, transitionState string) (bool,
return false, nil
}
}
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", r.conf.ReopenState, issueKey)
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", transitionState, issueKey)

}

0 comments on commit c00d602

Please sign in to comment.