lib/whirled_peas/command/play.rb in whirled_peas-0.9.1 vs lib/whirled_peas/command/play.rb in whirled_peas-0.10.0
- old
+ new
@@ -36,9 +36,12 @@
consumer, WhirledPeas.config.refresh_rate
) do |producer|
config.application.start(producer)
end
end
+ rescue LoadError
+ puts "Error loading #{config_file}"
+ exit(1)
end
private
attr_reader :app_config_file, :config, :logger