tidb-dashboard
tidb-dashboard copied to clipboard
Return a readable message instead of returning the error message directly
Feature Request
Is your feature request related to a problem? Please describe: After https://github.com/pingcap/tidb/pull/33953, when the query on cluster_slow_log consumes too much memory, the error message will be returned to the user directly. This error message is not user-friendly.

Describe the feature you'd like:
We may return a more user-friendly message like You may contract the timeline you wanna query and retry, cause xxxx
Describe alternatives you've considered:
Teachability, Documentation, Adoption, Migration Strategy: