#131 new
bahuvrihi

Error dump stream

Reported by bahuvrihi | December 17th, 2008 @ 05:52 PM | in Tap-1.0.0

FileTask needs something like this in case rollback fails. Pretty good idea to have in any case, so that a Task knows how to dump itself when things go wrong.



     def dump_rollback_info(target)
        app.prepare(target) do |file|
         file << {:added_files => added_files, :backed_up_files => backed_up_files}.to_yaml
       end
     end

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

A framework for making configurable, file-based tasks and workflows.

People watching this ticket

Pages