Navigation Menu

Skip to content
This repository has been archived by the owner on Apr 28, 2019. It is now read-only.

Commit

Permalink
Don't expose BSON id exceptions in Server
Browse files Browse the repository at this point in the history
  • Loading branch information
bodhi committed Jul 31, 2012
1 parent dd104d7 commit c80f632
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rack/oauth2/server.rb
Expand Up @@ -482,8 +482,6 @@ def get_client(request, options={})
end
raise InvalidClientError if client.revoked
return client
rescue BSON::InvalidObjectId
raise InvalidClientError
end

# Rack redirect response.
Expand Down

0 comments on commit c80f632

Please sign in to comment.