If you are in a transaction raise an error If you are outside a transaction you will have a hard time ensuring everything gets rolled back properly.
On Jul 24, 2012, at 11:28 AM, Chris Patti <[email protected]> wrote: > Folks; > > I have a function, healcheck() that I wish to call after the deploy > happens. I want to somehow fail the deploy and trigger a rollback if > the health check fails. > > Simply returning false doesn't do it. > > Can anyone please tell me how to make this happen? > > Thanks! > -Chris > > > -- > Christopher Patti - Geek At Large | GTalk: [email protected] | AIM: > chrisfeohpatti | P: (260) 54PATTI > "Technology challenges art, art inspires technology." - John Lasseter, Pixar > > -- > * You received this message because you are subscribed to the Google Groups > "Capistrano" group. > * To post to this group, send email to [email protected] > * To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/capistrano?hl=en -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to [email protected] * To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
