lib/whirled_peas/command/play.rb in whirled_peas-0.10.0 vs lib/whirled_peas/command/play.rb in whirled_peas-0.11.0
- old
+ new
@@ -36,11 +36,12 @@
consumer, WhirledPeas.config.refresh_rate
) do |producer|
config.application.start(producer)
end
end
- rescue LoadError
- puts "Error loading #{config_file}"
+ rescue LoadError => e
+ puts e
+ puts e.backtrace.join("\n")
exit(1)
end
private