Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
Description
There are some method in doris that may throw exception but doris does not deal with it. For exmple, FrontendServiceImpl the method getTableNames throws exception, but not print it. If BE call this method and failed, we do not know what happened. And it is very ugly to add try catch in every method. Maybe we could add a java annotation like @LOG_EXCEPITON
@LOG_EXCEPTION
@Override
public TGetTablesResult getTableNames(TGetTablesParams params) throws TException {
LOG.debug("get table name request: {}", params);
TGetTablesResult result = new TGetTablesResult();
List<String> tablesResult = Lists.newArrayList();
Solution
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity