Browse files

Better rescue for last commit

  • Loading branch information...
1 parent 3cd7e15 commit 9c049656ddf2bf355219eeedade3cd19913b4674 @winton committed Dec 7, 2009
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/lilypad/hoptoad/notify.rb
View
3 lib/lilypad/hoptoad/notify.rb
@@ -65,7 +65,8 @@ def parse
if @env
request = Rack::Request.new @env
- params = filter (request.params rescue {})
+ params = request.params rescue Hash.new
+ params = filter params
request_path = request.script_name + request.path_info
else
params = {}

0 comments on commit 9c04965

Please sign in to comment.