mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +00: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.