mirror of
https://github.com/apache/rocketmq.git
synced 2026-09-01 15:47:01 +08:00
b4d92c06b7
Previously, multiple catch blocks in StatsAllSubCommand silently swallowed exceptions, making it difficult to diagnose issues when the `mqadmin statsAll` command failed to retrieve statistics from certain brokers. This commit adds debug-level logging to all empty catch blocks, recording the exception details along with contextual information (topic, group, broker address) to improve observability. Co-authored-by: fire <gloria_404@126.com> Co-authored-by: Cursor <cursoragent@cursor.com>