mirror of
https://github.com/discourse/discourse.git
synced 2025-03-28 11:56:41 +08:00

Providing invalid dates as the end_date or start_date param causes a 500 error and creates noise in the logs. This will handle the error and returns a proper 400 response to the client with a message that explains what the problem is.