提交 df5a7470 编写于 作者: D ding.lid

DUBBO-103 Remoting异常转换成RpcException异常时附加上Service信息(便于排错)

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@453 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 234ba7c7
......@@ -256,7 +256,7 @@ public class DubboProtocol extends AbstractProtocol {
try {
server = Exchangers.bind(url, requestHandler);
} catch (RemotingException e) {
throw new RpcException(e.getMessage(), e);
throw new RpcException("Fail to start server(url: " + url + ") " + e.getMessage(), e);
}
str = url.getParameter(Constants.CLIENT_KEY);
if (str != null && str.length() > 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册