-
Notifications
You must be signed in to change notification settings - Fork 868
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash with non integer page #425
Comments
The exception is deliberate since "3index.php" is an invalid page number. Your site seems to be probed by a bot that's generating invalid requests. will_paginate configures Rails in production to serve 404 pages for these exceptions. You can also rescue WillPaginate::InvalidPage in your controllers to define your own handling, like ignoring them. |
@mislav thanks, I'll treat the exceptions. |
Hey @mislav, I'm still seeing these errors coming through via Rollbar. You mentioned above that will_paginate should throw a |
The text was updated successfully, but these errors were encountered: