Skip to content

Commit

Permalink
SECURITY-4918: Specification of the caught exception
Browse files Browse the repository at this point in the history
Co-authored-by: Laszlo Hammerl <laszlo.hammerl@emarsys.com>
  • Loading branch information
sigee and potato committed Sep 7, 2021
1 parent 248767f commit bb52715
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/escher/auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def is_valid?(*args)
begin
authenticate(*args)
return true
rescue EscherError
return false
rescue
return false
end
Expand Down

0 comments on commit bb52715

Please sign in to comment.