Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Revert model creation if their "callbacks" failed #2561

Merged
merged 5 commits into from Feb 7, 2017

Conversation

tomaszdurka
Copy link
Contributor

@tomaszdurka tomaszdurka commented Feb 7, 2017

Depends on #2558.

Reverts creations of the model, whenever any further step results in exception.

@tomaszdurka tomaszdurka changed the title Revert models creating their "callbacks" failures Revert model creation if their "callbacks" failures Feb 7, 2017
@tomaszdurka tomaszdurka self-assigned this Feb 7, 2017
@tomaszdurka
Copy link
Contributor Author

@njam please review

@tomaszdurka tomaszdurka changed the title Revert model creation if their "callbacks" failures Revert model creation if their "callbacks" failed Feb 7, 2017
@tomaszdurka
Copy link
Contributor Author

or @zazabe please review

@njam
Copy link
Member

njam commented Feb 7, 2017

lgtm

A test maybe?

@tomaszdurka
Copy link
Contributor Author

There you go @njam !

Copy link
Member

@njam njam left a comment

Choose a reason for hiding this comment

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

lgtm

@tomaszdurka tomaszdurka merged commit 4f98f4d into cargomedia:master Feb 7, 2017
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.

None yet

3 participants