mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 05:52:38 +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.