capistrano/capistrano — pull request #720 by clintonb (2013-10-19 18:20:12+00:00)
Title: Added deploy:fail task

This task is triggered when either the deploy or rollback tasks raises an unhandled exception.

Fixes #708