Skip to content

Commit

Permalink
Map LoadError to 'e' when Grit is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
elskwid committed May 2, 2012
1 parent 1c37b45 commit 29a5560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flowdock/capistrano.rb
Expand Up @@ -24,7 +24,7 @@
require 'grit'
set :repo, Grit::Repo.new(".")
config = Grit::Config.new(repo)
rescue LoadError
rescue LoadError => e
puts "Flowdock: you need to have Grit gem installed: #{e.to_s}"
rescue => e
puts "Flowdock: error in fetching your git repository information: #{e.to_s}"
Expand Down

0 comments on commit 29a5560

Please sign in to comment.