Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using the Capistrano logger for great justice

  • Loading branch information...
commit ca0ee34e6af7128859109b6f694e858f8e68a3c6 1 parent 135065e
@czarneckid czarneckid authored czarneckid committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/airbrake/capistrano.rb
View
4 lib/airbrake/capistrano.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.