RockteMQ-AI commented on issue #10492:
URL: https://github.com/apache/rocketmq/issues/10492#issuecomment-4704447564

   **Issue Evaluation**
   
   Category: `type/enhancement` | Status: **Evaluated**
   
   **Feasibility:** feasible | **Scope:** tools (StatsAllSubCommand) | 
**Compatibility:** no breaking changes
   
   Valid observation. The empty `catch` blocks in `StatsAllSubCommand` silently 
swallow exceptions, making it difficult to diagnose issues when statistics 
collection fails. Adding `log.warn` or `log.error` with the exception context 
is a simple and low-risk improvement.
   
   The proposed change is straightforward and would improve operational 
debugging.
   
   ---
   *Automated evaluation by github-manager-bot*


-- 
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]

Reply via email to