lib/quandl/format/dataset/load.rb in quandl_format-0.2.1 vs lib/quandl/format/dataset/load.rb in quandl_format-0.2.2
- old
+ new
@@ -109,19 +109,19 @@
protected
def parse_yaml_attributes(node)
YAML.load( node[:attributes] ).symbolize_keys!
- rescue => err
+ rescue Exception => err
log_yaml_parse_error(node, err)
nil
end
def convert_node_to_dataset(node)
dataset = Quandl::Format::Dataset.new( node[:attributes] )
dataset.data = node[:data]
dataset
- rescue => err
+ rescue Exception => err
log_dataset_error(node, err)
nil
end
def log_yaml_parse_error(node, err)
\ No newline at end of file