Skip to content

Commit 4b0f14f

Browse files
committed
fixed rubocop shadow exception error
1 parent 0422ec6 commit 4b0f14f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/fees_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def index
1818
end
1919
rescue ActionController::ParameterMissing
2020
redirect_to 'https://www.lib.berkeley.edu/find/borrow-renew?section=pay-fees', allow_other_host: true
21-
rescue JWT::DecodeError, JWT::VerificationError => e
21+
rescue JWT::DecodeError => e
2222
Rails.logger.warn "JWT verification failed: #{e.message}"
2323
redirect_to(action: :transaction_error)
2424
end

0 commit comments

Comments
 (0)