diff options
author | Saku Ytti <saku@ytti.fi> | 2014-04-16 13:04:09 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2014-04-16 13:04:09 +0300 |
commit | d756387ad436bc60563e44c866fd5831b9351723 (patch) | |
tree | fe5038f2d10b383e2beea672bd2918d840bd5262 /lib/oxidized/output/git.rb | |
parent | 20d94046e00c659d0a56596191bd56f6b6a537a9 (diff) |
We rescue 'LoadError' in Manager
Let's raise OxidizedError instead for known dependencies
Diffstat (limited to 'lib/oxidized/output/git.rb')
-rw-r--r-- | lib/oxidized/output/git.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/output/git.rb b/lib/oxidized/output/git.rb index 6f232cb..2b07e05 100644 --- a/lib/oxidized/output/git.rb +++ b/lib/oxidized/output/git.rb @@ -3,7 +3,7 @@ class Git < Output begin require 'grit' rescue LoadError - raise LoadError, 'grit not found: sudo gem install grit' + raise OxidizedError, 'grit not found: sudo gem install grit' end require 'oxidized/fix/grit' if RUBY_VERSION[0..1] == '2.' include Grit |