Skip to content

Commit c00d602

Browse files
authored
fix: 🐛 Fixes error message for doTransition to display the proper transition state (#176)
Signed-off-by: Nathan Gotz <[email protected]>
1 parent 005d6c2 commit c00d602

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/notify/notify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,6 @@ func (r *Receiver) doTransition(issueKey string, transitionState string) (bool,
425425
return false, nil
426426
}
427427
}
428-
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", r.conf.ReopenState, issueKey)
428+
return false, errors.Errorf("JIRA state %q does not exist or no transition possible for %s", transitionState, issueKey)
429429

430430
}

0 commit comments

Comments
 (0)