Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Map LoadError to 'e' when Grit is missing

  • Loading branch information...
commit 29a556094ea9f52afaf86b6839747ff65ec75383 1 parent 1c37b45
@elskwid elskwid authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/flowdock/capistrano.rb
View
2  lib/flowdock/capistrano.rb
@@ -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}"
Please sign in to comment.
Something went wrong with that request. Please try again.