lib/rapidoc/yaml_parser.rb in rapidoc-0.0.5 vs lib/rapidoc/yaml_parser.rb in rapidoc-0.0.6

- old
+ new

@@ -45,10 +45,10 @@ if lines[ b[:init] ].include? "=begin action" n_lines = b[:end] - b[:init] - 1 begin info << YAML.load( lines[ b[:init] + 1, n_lines ].join.gsub(/\ *#/, '') ) - rescue SyntaxError => e + rescue Exception => e puts "Error parsing block in #{file_name} file [#{b[:init]} - #{b[:end]}]" end end end