Permalink
Browse files

remove catch-all rescue

  • Loading branch information...
1 parent f9b25be commit 9627a81fe84c8b416b07e0470b44c8c43fab7b55 @jpmckinney jpmckinney committed Nov 7, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 lib/gov_kit/open_congress.rb
@@ -111,15 +111,7 @@ def self.parse_supporting_results(result)
#
# @return the returned data, as an array of hashes.
def self.make_call(this_url)
- result = nil
- begin
- result = JSON.parse(open(this_url).read)
- rescue => e
- puts e
- end
-
- return result
-
+ JSON.parse(open(this_url).read)
end
end
end

0 comments on commit 9627a81

Please sign in to comment.