lib/kuzushi.rb in kuzushi-0.0.24 vs lib/kuzushi.rb in kuzushi-0.0.25

- old
+ new

@@ -295,16 +295,15 @@ rescue RestClient::ResourceNotFound names.shift retry unless names.empty? error("file not found: #{file}") rescue Object => e - error("error fetching file: #{names.first}/#{file}", e) + error("error fetching file: #{names.first}/#{file} : #{e.message}") end end - def error(message, exception = nil) + def error(message) puts "ERROR :#{message}" - puts exception.message end def get(key) config[key.to_s] end