yx9o opened a new issue, #586: URL: https://github.com/apache/rocketmq-dashboard/issues/586
## Problem When a request parameter cannot be converted to the controller's declared type, it falls through to the generic exception handler and returns HTTP 500. For example, `/api/messages?startTime=invalid` is reported as an internal server error instead of a bad request. Other typed request parameters are affected as well. ## Expected behavior - Invalid request parameter types return HTTP 400. - The response follows the standard error format and identifies the invalid parameter. - Valid request parameters continue to work normally. ## Proposed fix Handle request parameter type mismatch exceptions in the global exception handler and add regression tests for invalid and valid parameter values. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
