lib/fulmar/domain/service/plugin_service.rb in fulmar-2.1.2 vs lib/fulmar/domain/service/plugin_service.rb in fulmar-2.2.0
- old
+ new
@@ -15,11 +15,11 @@
def initialize
@plugins = {}
config = ConfigurationService.instance.configuration
if config.plugins.class == Array
- fail 'Plugin list must not be an array. Have a look at https://github.com/CORE4/fulmar#plugins for ' +
- 'more information'
+ raise 'Plugin list must not be an array. Have a look at https://github.com/CORE4/fulmar#plugins for ' +
+ 'more information'
end
config.plugins.each_pair do |name, plugin_config|
puts "Loading plugin '#{name}'..." if config.debug
require_plugin(name)