lib/card/auth/token.rb in card-1.101.4 vs lib/card/auth/token.rb in card-1.101.5

- old
+ new

@@ -23,11 +23,11 @@ end def decode token decoded = JWT.decode(token, SECRET_KEY)[0] HashWithIndifferentAccess.new decoded - rescue JWT::DecodeError => error - error.message + rescue JWT::DecodeError => e + e.message end def expiration Card.config.token_expiry.from_now.to_i end