Skip to content

Include object class in state machine transition error#324

Open
ka8725 wants to merge 1 commit intopluginaweek:masterfrom
ka8725:master
Open

Include object class in state machine transition error#324
ka8725 wants to merge 1 commit intopluginaweek:masterfrom
ka8725:master

Conversation

@ka8725
Copy link

@ka8725 ka8725 commented Oct 6, 2014

In our project we have a lot of related objects with state machine. And it's rather hard to figure out which object has incorrect state with a message like this:

"Cannot transition status via :to_completed from :provisioning (Reason(s): status is invalid". The Pull Request is proposal to add the object class to the message to make it more informative.

@suan
Copy link

suan commented Dec 20, 2014

Related / duplicate of #273

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.

2 participants