Thanks Jamis, follow-up question - is it possible to detect the failure?
Obviously, if a run "something" fails it may be desirable to have some fail-safe code run. Like an exception block... Regards, Andy Jamis Buck wrote: > It is a per-task setting: > > task :foo, :on_error => :continue do > # ... > end > > With :on_error set to :continue, when a run command fails the process > will not abort--the next task in the chain will be invoked. > > - Jamis > > On Jan 4, 2008, at 5:16 PM, Andy Koch wrote: > >> >> Hi, >> >> I thought I once saw it listed that one could continue if a run command >> returns an error code. >> >> Is there some option that can be passed to run for this behavior? >> >> Let me rephrase that... >> if "run 'do something'" fails, then the whole deploy process quits, I'd >> like it to continue in some cases - rather than have to start over. >> >> Thanks >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
