You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The question is we don't know why user don't import classes.
For example: Registry has three extensions: zookeeper, dsr, consul
If user want use zookeeper as registry, and did not import dsr.jar and consul.jar, dsr and consul registry extension will disabled, we need ignore it.
But if user did not import zookeeper.jar, zookeeper registry will disabled, too. It's better to throw exception when not found extension ( get registry from RegistryFactory).
Your question
com.alipay.sofa.rpc.ext.ExtensionLoader#readLine
Your scenes
describe your use scenes (why need this feature)
Your advice
maybe we don't need to catch Throwable?
or we can print ExceptionUtils.toString(e)?
Environment
java -version
):uname -a
):The text was updated successfully, but these errors were encountered: