Skip to content

Commit

Permalink
bugfix for re-raising the RecaptchaError
Browse files Browse the repository at this point in the history
Signed-off-by: Jason L Perry <jasper@ambethia.com>
  • Loading branch information
chrisfinne authored and Jason L Perry committed Sep 15, 2009
1 parent 3a34483 commit e56d9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/recaptcha/verify.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def verify_recaptcha(options = {})
return true
end
rescue Exception => e
raise RecaptchaError, e
raise RecaptchaError, e.message, e.backtrace
end
end # verify_recaptcha
end # Verify
Expand Down

0 comments on commit e56d9fc

Please sign in to comment.