Skip to content

Commit

Permalink
commandfailed changed namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mlooney committed Aug 7, 2010
1 parent 794ff31 commit 835441d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sprinkle/actors/vlad.rb
Expand Up @@ -52,7 +52,7 @@ def process(name, commands, roles, suppress_and_return_failures = false) #:nodoc
begin
t.invoke
return true
rescue ::Vlad::CommandFailedError => e
rescue ::Rake::CommandFailedError => e
return false if suppress_and_return_failures

# Reraise error if we're not suppressing it
Expand All @@ -65,7 +65,7 @@ def transfer(name, source, destination, roles, recursive = true, suppress_and_re
begin
rsync source, destination
return true
rescue ::Vlad::CommandFailedError => e
rescue ::Rake::CommandFailedError => e
return false if suppress_and_return_failures

# Reraise error if we're not suppressing it
Expand Down

0 comments on commit 835441d

Please sign in to comment.