Tencent / TubeMQ

TubeMQ has been donated to the Apache Software Foundation and renamed to InLong, please visit the new Apache repository: https://github.com/apache/incubator-inlong
https://inlong.apache.org/
2.02k stars 388 forks source link

Optimization: Reducing repeated nesting of TubeClientException exception #130

Closed gosonzhang closed 5 years ago

gosonzhang commented 5 years ago

When register2Master() throws a TubeClientException, the exception will be repeatedly nested with TubeClientException again, which is not convenient for problem analysis and processing after the exception is thrown.


当register2Master() 引发TubeClientException时,该异常将再次与TubeClientException重复嵌套,这在引发异常后不方便进行问题分析和处理。