@stack.reset_state_on_error
def raise_exception(self):
    self.status = self.IN_PROGRESS
    raise ValueError('oops')
@stack.reset_state_on_error
def raise_exception(self):
    self.status = self.IN_PROGRESS
    raise ValueError('oops')