lib/whirled_peas/command/themes.rb in whirled_peas-0.10.0 vs lib/whirled_peas/command/themes.rb in whirled_peas-0.11.0
- old
+ new
@@ -47,11 +47,12 @@
print 'See next theme? [Y/q] '
STDOUT.flush
break if gets.chomp == 'q'
end
end
- rescue LoadError
- puts "Error loading #{config_file}"
+ rescue LoadError => e
+ puts e
+ puts e.backtrace.join("\n")
exit(1)
end
private