From 50de601a75e0a064187cd51971b610d9891d4fef Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Mon, 14 Jul 2014 17:47:50 +0200 Subject: core.rb: Improve error message --- lib/oxidized/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index c9526e0..ba46f3a 100644 --- a/lib/oxidized/core.rb +++ b/lib/oxidized/core.rb @@ -21,7 +21,7 @@ module Oxidized begin require 'oxidized/web' rescue LoadError - raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web - or disable it by settings rest: false inconfig' + raise OxidizedError, 'oxidized-web not found: sudo gem install oxidized-web - or disable web support by setting "rest: false" in your configuration' end @rest = API::Web.new nodes, CFG.rest @rest.run -- cgit v1.2.1