Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Using the Capistrano logger for great justice
Browse files Browse the repository at this point in the history
  • Loading branch information
David Czarnecki authored and David Czarnecki committed Sep 3, 2011
1 parent 135065e commit ca0ee34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/airbrake/capistrano.rb
Expand Up @@ -13,9 +13,9 @@
notify_command = "#{executable} airbrake:deploy TO=#{rails_env} REVISION=#{current_revision} REPO=#{repository} USER=#{local_user}"
notify_command << " DRY_RUN=true" if dry_run
notify_command << " API_KEY=#{ENV['API_KEY']}" if ENV['API_KEY']
puts "Notifying Airbrake of Deploy (#{notify_command})"
logger.info "Notifying Airbrake of Deploy (#{notify_command})"
`#{notify_command}`
puts "Airbrake Notification Complete."
logger.info "Airbrake Notification Complete."
end
end
end

0 comments on commit ca0ee34

Please sign in to comment.