summaryrefslogtreecommitdiff
path: root/lib/oxidized/core.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-04-16 13:04:09 +0300
committerSaku Ytti <saku@ytti.fi>2014-04-16 13:04:09 +0300
commitd756387ad436bc60563e44c866fd5831b9351723 (patch)
treefe5038f2d10b383e2beea672bd2918d840bd5262 /lib/oxidized/core.rb
parent20d94046e00c659d0a56596191bd56f6b6a537a9 (diff)
We rescue 'LoadError' in Manager
Let's raise OxidizedError instead for known dependencies
Diffstat (limited to 'lib/oxidized/core.rb')
-rw-r--r--lib/oxidized/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb
index 202cb94..2b5bbcf 100644
--- a/lib/oxidized/core.rb
+++ b/lib/oxidized/core.rb
@@ -20,7 +20,7 @@ module Oxidized
begin
require 'oxidized/web'
rescue LoadError
- raise LoadError, 'oxidized-web not found: sudo gem install oxidized-web'
+ raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web'
end
@rest = API::Web.new nodes, CFG.rest
@rest.run