Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronkrolik committed May 10, 2017
1 parent e42835b commit aaefdb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/iap_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def call(env)
return return_forbidden "EMAIL NOT PERMITTED ACCESS. CONTACT APPLICATION OWNER. IP: [#{request.ip}]", request, true
end

rescue
return return_forbidden "BAD JWT TOKEN. MALFORMED2. IP: [#{request.ip}], APIKEY [#{api_key}], UNVERIFIED: [#{unverified}]", request
rescue => e
return return_forbidden "BAD JWT TOKEN. MALFORMED2. IP: [#{request.ip}], errors: #{errors}, e: #{e}", request
end

continue_request(env, request, 'NO SKIP')
Expand Down

0 comments on commit aaefdb3

Please sign in to comment.